7.8. igraph_heap_size — Number of elements

long int igraph_heap_size(igraph_heap_t* h);

Gives the number of elements in a heap.

Arguments: 

h:

The heap object.

Returns: 

The number of elements in the heap.

Time complexity: O(1).