Space Engineers
Classes | Public Member Functions | Properties | List of all members
VRage.Collections.MyBinaryStructHeap< TKey, TValue > Class Template Reference

Classes

struct  HeapItem
 

Public Member Functions

 MyBinaryStructHeap (int initialCapacity=128, IComparer< TKey > comparer=null)
 
void Insert (TValue value, TKey key)
 
TValue Min ()
 
TKey MinKey ()
 
TValue RemoveMin ()
 
TValue RemoveMax ()
 
TValue Remove (TValue value, IEqualityComparer< TValue > comparer=null)
 
TValue Remove (TKey key)
 
void Clear ()
 

Properties

int Count [get]
 
bool Full [get]
 

Detailed Description

Type Constraints
TValue :struct 

Definition at line 9 of file MyBinaryStructHeap.cs.

Constructor & Destructor Documentation

VRage.Collections.MyBinaryStructHeap< TKey, TValue >.MyBinaryStructHeap ( int  initialCapacity = 128,
IComparer< TKey >  comparer = null 
)
inline

Definition at line 45 of file MyBinaryStructHeap.cs.

Member Function Documentation

void VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Clear ( )
inline

Definition at line 202 of file MyBinaryStructHeap.cs.

void VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Insert ( TValue  value,
TKey  key 
)
inline

Definition at line 53 of file MyBinaryStructHeap.cs.

TValue VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Min ( )
inline

Definition at line 72 of file MyBinaryStructHeap.cs.

TKey VRage.Collections.MyBinaryStructHeap< TKey, TValue >.MinKey ( )
inline

Definition at line 77 of file MyBinaryStructHeap.cs.

TValue VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Remove ( TValue  value,
IEqualityComparer< TValue >  comparer = null 
)
inline

Definition at line 130 of file MyBinaryStructHeap.cs.

TValue VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Remove ( TKey  key)
inline

Definition at line 168 of file MyBinaryStructHeap.cs.

TValue VRage.Collections.MyBinaryStructHeap< TKey, TValue >.RemoveMax ( )
inline

Definition at line 104 of file MyBinaryStructHeap.cs.

TValue VRage.Collections.MyBinaryStructHeap< TKey, TValue >.RemoveMin ( )
inline

Definition at line 82 of file MyBinaryStructHeap.cs.

Property Documentation

int VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Count
get

Definition at line 27 of file MyBinaryStructHeap.cs.

bool VRage.Collections.MyBinaryStructHeap< TKey, TValue >.Full
get

Definition at line 35 of file MyBinaryStructHeap.cs.


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