PriorityQueueNodeT Structure |
Namespace: Accord.Collections
[SerializableAttribute] public struct PriorityQueueNode<T> : IComparable<PriorityQueueNode<T>>, IEquatable<PriorityQueueNode<T>>
The PriorityQueueNodeT type exposes the following members.
Name | Description | |
---|---|---|
PriorityQueueNodeT |
Initializes a new instance of the PriorityQueueNodeT struct.
|
Name | Description | |
---|---|---|
InsertionIndex |
Gets the original position at which this node was inserted.
| |
IsEmpty |
Gets a value indicating whether this node is empty (does not belong to any queue).
| |
Priority |
Gets a double-value representing the
current priority for the node.
| |
QueueIndex |
Gets the current position of this node in its containing queue.
| |
Value |
Gets or sets the current value associated with this node.
|
Name | Description | |
---|---|---|
CompareTo |
Compares the current object with another object of the same type.
| |
Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Overrides ValueTypeEquals(Object).) | |
Equals(PriorityQueueNodeT) |
Indicates whether the current object is equal to another object of the same type.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Implements the equals operator.
| |
GreaterThan |
Implements the greater than operator.
| |
Inequality |
Implements the not equals operator.
| |
LessThan |
Implements the less than operator.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |