Class PriorityQueue<TValue>
Inheritance
System.Object
PriorityQueue<TValue>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Xbim.Tessellator
Assembly: Xbim.Tessellator.dll
Syntax
public class PriorityQueue<TValue>
where TValue : class
Type Parameters
| Name | Description |
|---|---|
| TValue |
Constructors
| Improve this Doc View SourcePriorityQueue(Int32, PriorityHeap<TValue>.LessOrEqual)
Declaration
public PriorityQueue(int initialSize, PriorityHeap<TValue>.LessOrEqual leq)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | initialSize | |
| PriorityHeap.LessOrEqual<> | leq |
Properties
| Improve this Doc View SourceEmpty
Declaration
public bool Empty { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceExtractMin()
Declaration
public TValue ExtractMin()
Returns
| Type | Description |
|---|---|
| TValue |
Init()
Declaration
public void Init()
Insert(TValue)
Declaration
public PqHandle Insert(TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| TValue | value |
Returns
| Type | Description |
|---|---|
| PqHandle |
Minimum()
Declaration
public TValue Minimum()
Returns
| Type | Description |
|---|---|
| TValue |
Remove(PqHandle)
Declaration
public void Remove(PqHandle handle)
Parameters
| Type | Name | Description |
|---|---|---|
| PqHandle | handle |