Preparing search index...
The search index is not available
Addressable Binary Heaps - v1.0.0
Addressable Binary Heaps
maxHeap
add
Function add
add
<
H
extends
IHeapArray
>
(
instance
:
H
,
node
:
H
[
0
]
)
:
void
Adds an element to the max-heap.
Type Parameters
H
extends
IHeapArray
The type of max-heap.
Parameters
instance
:
H
The max-heap instance.
node
:
H
[
0
]
The element to add.
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Addressable Binary Heaps - v1.0.0
Loading...
Adds an element to the max-heap.