INF2004-Project v0.1
 
Loading...
Searching...
No Matches
binary_heap Struct Reference

Struct containing the binary heap. More...

#include <binary_heap.h>

Collaboration diagram for binary_heap:
[legend]

Data Fields

uint16_t capacity
 
binary_heap_node_tp_array
 Pointer to the first element of the array.
 
uint16_t size
 Current number of nodes in the binary heap.
 

Detailed Description

Struct containing the binary heap.

See also
binary_heap
Warning
The array is 0-indexed, so capacity and size are always 1 greater than their respective index maximums.

Field Documentation

◆ capacity

uint16_t capacity

Maximum number of nodes that can be stored in the binary heap.


The documentation for this struct was generated from the following file: