Summary
Base class for nodes in a graph on which Dijkstra’s Algorithm is run using
DijkstrasAlgorithm.Run<TWeight, TLabel>(Node<TWeight, TLabel>, TWeight, Func<TWeight, TWeight, TWeight>, out TWeight).
Generic type parameters
TWeight |
Type of the weight (or length or any other quantity to be minimized) of each edge between nodes. |
TLabel |
Type that can be used to identify edges connecting nodes. |
Instance methods
bool | | When overridden in a derived class, compares two nodes for equality. |
int | | When overridden in a derived class, returns a hash code for this node. |
Instance properties
IEnumerable<Edge<TWeight, TLabel>> | |
When overridden in a derived class, returns the set of edges going out from this node. Each edge consists of a
label that identifies the edge, and the node that the edge points to. |
bool | |
When overridden in a derived class, determines whether this node is “final”. The final nodes are the nodes the
algorithm is looking for. The first such node encountered in the search ends the search with success. |