Mission Base

Program Base Library Functions

int pblHeapEnsureCondition

( PblHeap* heap, int index )

Ensures the heap condition of the heap for the element with the given index.

Documentation

Ensures the heap condition of the heap for the element with the given index.

This function has a time complexity of O(Log N).

Parameters:
heap - The heap to use
index - Index of element to ensure condition for
Returns:
int rc: The new index of the element.

Alphabetic index



This page was generated with the help of DOC++.