The Subheap class

(Available since version 1.0)

Introduction

This is a 'struct'-like class designed for use in the pairing heap class, SEIDS::Heaps::Pairing::Heap.

It is not intended for public consumption.

Class synopsis

SEIDS::Heaps::Pairing::Subheap {
/* Properties */
public mixed $data ;
public mixed $tag ;
public SEIDS::Heaps::Pairing::Subheap $parent ;
public array $subheaps ;
/* Methods */
public __construct ( mixed $data , mixed $tag [, array $subheaps [, SEIDS::Heaps::Pairing::Subheap $parent ]] )
}

Properties

data

The data of the node.

tag

The tag of the node.

parent

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

subheaps

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

Table of Contents

To Top