Space Engineers
Public Member Functions | Properties | List of all members
VRage.Collections.MyBinaryHeap< K, V > Class Template Reference

Public Member Functions

 MyBinaryHeap ()
 
 MyBinaryHeap (int initialCapacity)
 
 MyBinaryHeap (int initialCapacity, IComparer< K > comparer)
 
void Insert (V value, K key)
 
GetItem (int index)
 
Min ()
 
RemoveMin ()
 
RemoveMax ()
 
void Remove (V item)
 
void Modify (V item, K newKey)
 
void ModifyUp (V item, K newKey)
 
void ModifyDown (V item, K newKey)
 
void Clear ()
 
void QueryAll (List< V > list)
 

Properties

int Count [get]
 
bool Full [get]
 

Detailed Description

Type Constraints
V :HeapItem<K> 

Definition at line 15 of file MyBinaryHeap.cs.

Constructor & Destructor Documentation

Definition at line 40 of file MyBinaryHeap.cs.

VRage.Collections.MyBinaryHeap< K, V >.MyBinaryHeap ( int  initialCapacity)
inline

Definition at line 48 of file MyBinaryHeap.cs.

VRage.Collections.MyBinaryHeap< K, V >.MyBinaryHeap ( int  initialCapacity,
IComparer< K >  comparer 
)
inline

Definition at line 56 of file MyBinaryHeap.cs.

Member Function Documentation

void VRage.Collections.MyBinaryHeap< K, V >.Clear ( )
inline

Definition at line 189 of file MyBinaryHeap.cs.

V VRage.Collections.MyBinaryHeap< K, V >.GetItem ( int  index)
inline

Definition at line 79 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.Insert ( value,
key 
)
inline

Definition at line 65 of file MyBinaryHeap.cs.

V VRage.Collections.MyBinaryHeap< K, V >.Min ( )
inline

Definition at line 84 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.Modify ( item,
newKey 
)
inline

Definition at line 163 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.ModifyDown ( item,
newKey 
)
inline

Definition at line 183 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.ModifyUp ( item,
newKey 
)
inline

Definition at line 177 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.QueryAll ( List< V >  list)
inline

Definition at line 278 of file MyBinaryHeap.cs.

void VRage.Collections.MyBinaryHeap< K, V >.Remove ( item)
inline

Definition at line 135 of file MyBinaryHeap.cs.

V VRage.Collections.MyBinaryHeap< K, V >.RemoveMax ( )
inline

Definition at line 109 of file MyBinaryHeap.cs.

V VRage.Collections.MyBinaryHeap< K, V >.RemoveMin ( )
inline

Definition at line 89 of file MyBinaryHeap.cs.

Property Documentation

int VRage.Collections.MyBinaryHeap< K, V >.Count
get

Definition at line 22 of file MyBinaryHeap.cs.

bool VRage.Collections.MyBinaryHeap< K, V >.Full
get

Definition at line 30 of file MyBinaryHeap.cs.


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