Method |
Description |
|
extract_min ( ) |
Function to extract the minimum value of the heap |
|
insert ( $value ) |
Basic function to add a value to the heap |
|
node_child_left ( $key ) |
Gets the left child's key of a given node |
|
node_child_right ( $key ) |
Gets the right child's key of a given node |
|
node_parent ( $key ) |
Gets the parent's key of a given node |
|
smallest_child_key ( $index ) |
Gets the child key of the lowest value of the children of a given node |
|
smallest_child_value ( $index ) |
Gets the lowest value of the children of a given node |
|
toString ( ) |
|
|