Property | Type | Description | |
---|---|---|---|
Comparer | IComparer | ||
InnerList |
Property | Type | Description | |
---|---|---|---|
IEnumerable | IEnumerator | ||
IList | int |
Method | Description | |
---|---|---|
BinaryPriorityQueue ( ) : System | ||
BinaryPriorityQueue ( IComparer c ) : System | ||
BinaryPriorityQueue ( IComparer c, int Capacity ) : System | ||
BinaryPriorityQueue ( int C ) : System | ||
Clear ( ) : void | ||
Clone ( ) : object | ||
Contains ( object value ) : bool | ||
CopyTo ( |
||
Peek ( ) : object |
Get the smallest object without removing it.
|
|
Pop ( ) : object |
Get the smallest object and remove it.
|
|
Push ( object O ) : int |
Push an object onto the PQ
|
|
ReadOnly ( |
||
Syncronized ( |
||
Update ( int i ) : void |
Notify the PQ that the object at position i has changed and the PQ needs to restore order. Since you dont have access to any indexes (except by using the explicit IList.this) you should not call this function without knowing exactly what you do.
|
Method | Description | |
---|---|---|
BinaryPriorityQueue ( |
||
IList ( int index ) : void | ||
IList ( int index, object value ) : void | ||
IList ( object value ) : void | ||
OnCompare ( int i, int j ) : int | ||
SwitchElements ( int i, int j ) : void | ||
this ( int index ) : objectIList.System |
Method | Description | |
---|---|---|
IEnumerable ( ) : IEnumerator | ||
IList ( object o ) : int |
protected BinaryPriorityQueue ( |
||
Core | ||
Comp | IComparer | |
Copy | bool | |
return | System |
public BinaryPriorityQueue ( IComparer c ) : System | ||
c | IComparer | |
return | System |
public BinaryPriorityQueue ( IComparer c, int Capacity ) : System | ||
c | IComparer | |
Capacity | int | |
return | System |
public BinaryPriorityQueue ( int C ) : System | ||
C | int | |
return | System |
public CopyTo ( |
||
array | ||
index | int | |
return | void |
protected IList ( int index, object value ) : void | ||
index | int | |
value | object | |
return | void |
public static ReadOnly ( |
||
P | ||
return |
protected SwitchElements ( int i, int j ) : void | ||
i | int | |
j | int | |
return | void |
public static Syncronized ( |
||
P | ||
return |
public Update ( int i ) : void | ||
i | int | The index of the changed object. |
return | void |
protected this ( int index ) : objectIList.System | ||
index | int | |
return | objectIList.System |