PriorityQueue::extract

(Available since version 1.0)

PriorityQueue::extractExtracts a node from top of the queue

Description

public mixed PriorityQueue::extract ( void )

Parameters

This function has no parameters.

Return Values

The value or priority (or both) of the extracted node, depending on the extract flag.

Errors/Exceptions

Throws SEIDS::Heaps::ExtractException when the data-structure is empty.

To Top