Свойство | Тип | Описание | |
---|---|---|---|
Comparer | IComparer | ||
InnerList |
Свойство | Тип | Описание | |
---|---|---|---|
IEnumerable | IEnumerator | ||
IList | int |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
IEnumerable ( ) : IEnumerator | ||
IList ( object o ) : int |
protected BinaryPriorityQueue ( |
||
Core | ||
Comp | IComparer | |
Copy | bool | |
Результат | System |
public BinaryPriorityQueue ( IComparer c ) : System | ||
c | IComparer | |
Результат | System |
public BinaryPriorityQueue ( IComparer c, int Capacity ) : System | ||
c | IComparer | |
Capacity | int | |
Результат | System |
public BinaryPriorityQueue ( int C ) : System | ||
C | int | |
Результат | System |
public CopyTo ( |
||
array | ||
index | int | |
Результат | void |
protected IList ( int index, object value ) : void | ||
index | int | |
value | object | |
Результат | void |
public static ReadOnly ( |
||
P | ||
Результат |
protected SwitchElements ( int i, int j ) : void | ||
i | int | |
j | int | |
Результат | void |
public static Syncronized ( |
||
P | ||
Результат |
public Update ( int i ) : void | ||
i | int | The index of the changed object. |
Результат | void |
protected this ( int index ) : objectIList.System | ||
index | int | |
Результат | objectIList.System |