PriorityQueueHeap::__construct

(Available since version 1.0)

PriorityQueueHeap::__constructConstructs a new heap

Description

public PriorityQueueHeap::__construct ( callable $callback_compare )

This constructs a new, empty heap. A callback must be supplied to take the place of the PriorityQueueHeap::compare() method.

Parameters

callback_compare

A callback to use for the PriorityQueueHeap::compare() method.

Return Values

No value is returned.

To Top