| igraph Reference Manual |
|---|
long int igraph_heap_size(igraph_heap_t* h);
Gives the number of elements in a heap.
Arguments:
|
The heap object. |
Returns:
The number of elements in the heap. |
Time complexity: O(1).
<< 7.7. igraph_heap_delete_top — Return and removes the top element |
7.9. igraph_heap_reserve — Allocate more memory >> |