Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/BinaryHeap.h |
| Include | #include "Containers/BinaryHeap.h" |
Syntax
template<typename KeyType, typename IndexType>
class FBinaryHeap
Remarks
Copyright (C) 2009 Nine Realms, Inc
Variables
| Type | Name | Description | |
|---|---|---|---|
| IndexType * | Heap | ||
| IndexType * | HeapIndexes | ||
| uint32 | HeapNum | ||
| uint32 | HeapSize | ||
| uint32 | IndexSize | ||
| KeyType * | Keys |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FBinaryHeap () |
|||
FBinaryHeap
(
const FBinaryHeap& |
|||
FBinaryHeap
(
FBinaryHeap&& Other |
|||
FBinaryHeap
(
uint32 InHeapSize, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FBinaryHeap () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
KeyType Key, |
||
| void | Clear () |
||
| void | DownHeap
(
IndexType HeapIndex |
||
| void | Free () |
||
| uint32 | GetHeapSize () |
||
| uint32 | GetIndexSize () |
||
| KeyType | GetKey
(
IndexType Index |
||
| bool | IsEmpty () |
||
| bool | IsPresent
(
IndexType Index |
||
| uint32 | Num () |
||
| IndexType | Peek
(
IndexType Index |
||
| void | Pop () |
||
| void | Remove
(
IndexType Index |
||
| void | Reset internal variables to a cleared state, does not free data. | ||
| void | |||
| void | ResizeHeap
(
uint32 NewHeapSize |
||
| void | ResizeIndexes
(
uint32 NewIndexSize |
||
| IndexType | Top () |
||
| void | Update
(
KeyType Key, |
||
| void | UpHeap
(
IndexType HeapIndex |
Operators
| Type | Name | Description | |
|---|---|---|---|
| void | operator=
(
const FBinaryHeap& |