Свойство | Type | Description | |
---|---|---|---|
Comparer | IComparer | ||
InnerList |
Свойство | Type | Description | |
---|---|---|---|
IEnumerable | IEnumerator | ||
IList | int |
Méthode | 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.
|
Méthode | 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 |
Méthode | Description | |
---|---|---|
IEnumerable ( ) : IEnumerator | ||
IList ( object o ) : int |
protected BinaryPriorityQueue ( |
||
Core | ||
Comp | IComparer | |
Copy | bool | |
Résultat | System |
public BinaryPriorityQueue ( IComparer c ) : System | ||
c | IComparer | |
Résultat | System |
public BinaryPriorityQueue ( IComparer c, int Capacity ) : System | ||
c | IComparer | |
Capacity | int | |
Résultat | System |
public BinaryPriorityQueue ( int C ) : System | ||
C | int | |
Résultat | System |
public CopyTo ( |
||
array | ||
index | int | |
Résultat | void |
protected IList ( int index, object value ) : void | ||
index | int | |
value | object | |
Résultat | void |
public static ReadOnly ( |
||
P | ||
Résultat |
protected SwitchElements ( int i, int j ) : void | ||
i | int | |
j | int | |
Résultat | void |
public static Syncronized ( |
||
P | ||
Résultat |
public Update ( int i ) : void | ||
i | int | The index of the changed object. |
Résultat | void |
protected this ( int index ) : objectIList.System | ||
index | int | |
Résultat | objectIList.System |