Class PriorityQueueNode<TPriority, TData>
A container for a prioritized node that sites in an AlternativePriorityQueue<TPriority, TData>.
Inherited Members
Namespace: NetTopologySuite.Utilities
Assembly: NetTopologySuite.dll
Syntax
public sealed class PriorityQueueNode<TPriority, TData>
Type Parameters
Name | Description |
---|---|
TPriority | The type to use for the priority of the node in the queue. |
TData | The type to use for the data stored by the node in the queue. |
Constructors
| Improve this Doc View SourcePriorityQueueNode(TData)
Initializes a new instance of the PriorityQueueNode<TPriority, TData> class.
Declaration
public PriorityQueueNode(TData data)
Parameters
Type | Name | Description |
---|---|---|
TData | data | The |
Properties
| Improve this Doc View SourceData
Gets the TData
that is stored in this node.
Declaration
public TData Data { get; }
Property Value
Type | Description |
---|---|
TData |
Priority
Gets the TPriority
of this node in the queue.
Declaration
public TPriority Priority { get; }
Property Value
Type | Description |
---|---|
TPriority |
Remarks
The queue may update this priority while the node is still in the queue.