|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
| Field Summary | |
|---|---|
| System.Collections.IComparer | comp |
| Naanou.Common.NodeSequence | s |
| Constructor Summary | |
|---|---|
| PriorityQueue(System.Collections.IComparer comp) | |
|
PriorityQueue() Initializes a new instance of the PriorityQueue class. |
|
| Property Summary | |
|---|---|
| int |
Count
Returns count |
| bool |
IsEmpty
Is list empty |
| Method Summary | |
|---|---|
| void |
Add(object key, object elem) Adds a new item |
| object | Key(Naanou.Common.DNode pos) |
| object |
MinKey() Returns the minimum key |
| object |
RemoveMin() Removes the minimum element and returns it |
| object | Value(Naanou.Common.DNode pos) |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Field Detail |
|---|
protected System.Collections.IComparer comp
protected Naanou.Common.NodeSequence s
| Constructor Detail |
|---|
public PriorityQueue(System.Collections.IComparer comp)
public PriorityQueue()
Initializes a new instance of the PriorityQueue class.
| Property Detail |
|---|
public int Count
Returns count
public bool IsEmpty
Is list empty
| Method Detail |
|---|
public void Add(object key,
object elem)
Adds a new item
Parameters:
key - Keyelem - Elementprotected object Key(Naanou.Common.DNode pos)
public object MinKey()
Returns the minimum key
Returns:
public object RemoveMin()
Removes the minimum element and returns it
Returns:
protected object Value(Naanou.Common.DNode pos)
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||