Subheap::__construct

(Available since version 1.0)

Subheap::__constructConstructs a new item

Description

public Subheap::__construct ( mixed $data , mixed $tag [, array $subheaps [, SEIDS::Heaps::Pairing::Subheap $parent ]] )

This constructs a new item for use in the binary heap class.

Parameters

data

The data of the node.

tag

The tag of the node.

subheaps

The node's subheaps. (Nodes below this one in the heap.)

parent

The node's parent. (NULL in the case of the top node.)

Return Values

No value is returned.

To Top