[This is preliminary documentation and is subject to change.]
The PriorityQueue<(Of <(<'TPriority, TValue>)>)> type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PriorityQueue<(Of <(<'TPriority, TValue>)>)>()()()() | CTor using default comarer | |
| PriorityQueue<(Of <(<'TPriority, TValue>)>)>(IComparer<(Of <<'(TPriority>)>>)) | CTor |
Methods
| Name | Description | |
|---|---|---|
| Clear | Removes all items from the ICollection<(Of <(<'T>)>)>. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Contains(T) | Determines whether the ICollection<(Of <(<'T>)>)> contains a specific value. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Contains(TValue) | Gets value indicating if collection contains given item | |
| CopyTo | Copies the elements of the ICollection<(Of <(<'T>)>)> to an Array, starting at a particular Array index. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| GetInsertIndex | Gets index where item item is expected to be (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| GetItemsWithSamePriority(T) | Gets items that have same priority as given item (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| GetItemsWithSamePriority(TPriority) | Gets all the items with given priority | |
| IEnumerable_GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| IndexOf(T) | Determines the index of a specific item in the IList<(Of <(<'T>)>)>. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| IndexOf(TValue) | Returns index of item in priority queues | |
| Peek | Gets item on top of priority queue | |
| PeekPriority | Gets priority of item on top of queue | |
| Pop | Gets item on top of priority queue and removes it from list | |
| Push(T) | Adds item to collection (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Push(TPriority, TValue) | Adds item to priority queue using its priority | |
| Remove(T) | Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Remove(TValue) | Removes item from queue | |
| RemoveAt | Removes the IList<(Of <(<'T>)>)> item at the specified index. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Sort | Forces queue to re-sort (Inherited from PriorityQueue<(Of <(<'T>)>)>.) |
Extension Methods
| Name | Description | |
|---|---|---|
| IndexOf<(Of <<'(TValue>)>>) | Gets index of first occurence of given item in given collection (Defined by EnumerableT.) | |
| Last<(Of <<'(TValue>)>>) | Gets last item in collection (Defined by CollectionTools.) | |
| UnionAll<(Of <<'(TValue>)>>)(array<IEnumerable<(Of <<'(TValue>)>>)>[]()[][]) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) | |
| UnionAll<(Of <<'(TValue>)>>)(IEnumerable<(Of <<'(IEnumerable<(Of <<'(TValue>)>>)>)>>)) | Overloaded. Creates union of given collection with other given collections (Defined by EnumerableT.) |
Properties
| Name | Description | |
|---|---|---|
| Comparer | Comparer used to compare items (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Count | Gets the number of elements contained in the ICollection<(Of <(<'T>)>)>. (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| Item | Gets value on specified index (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| PeekIndex | Gets index of first item in queue (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| PriorityTarget | Defines which items are poped firts (Inherited from PriorityQueue<(Of <(<'T>)>)>.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IList<(Of <<'(T>)>>)..::..Insert | (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| ICollection<(Of <<'(T>)>>)..::..IsReadOnly | (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| ICollection<(Of <<'(T>)>>)..::..Add | (Inherited from PriorityQueue<(Of <(<'T>)>)>.) | |
| IList<(Of <<'(T>)>>)..::..Item | (Inherited from PriorityQueue<(Of <(<'T>)>)>.) |