The DijkstraShortestPathAlgorithm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DijkstraShortestPathAlgorithm |
Builds a new Dijsktra searcher.
|
Methods
| Name | Description | |
|---|---|---|
| Compute |
Computes all the shortest path from s to the oter vertices
| |
| ComputeNoInit | ||
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnEdgeNotRelaxed |
Raises the EdgeNotRelaxed event.
| |
| OnEdgeRelaxed |
Raises the EdgeRelaxed event.
| |
| RegisterDistanceRecorderHandlers |
Add event handlers to the corresponding events.
| |
| RegisterPredecessorRecorderHandlers |
Register the predecessor handlers
| |
| RegisterVertexColorizerHandlers | ||
| ToString | (Inherited from Object.) | |
| UnaryWeightsFromEdgeList |
Create a edge unary weight dictionary.
| |
| UnaryWeightsFromVertexList |
Create a edge unary weight dictionary.
|
Properties
| Name | Description | |
|---|---|---|
| Colors |
Vertex color map
| |
| Distances |
Constructed distance map
| |
| VertexQueue |
Vertex priorithized queue. Used internally.
| |
| VisitedGraph |
Visited graph
|
Events
| Name | Description | |
|---|---|---|
| DiscoverVertex |
Invoked on vertex v when the edge (u,v) is examined and v is WHITE.
Since a vertex is colored GRAY when it is discovered, each
reachable vertex is discovered exactly once. This is also when the
vertex is inserted into the priority queue.
| |
| EdgeNotRelaxed |
Invoked if the edge is not relaxed. .
| |
| EdgeRelaxed |
invoked on edge (u,v) if d[u] + w(u,v) < d[v]. The edge (u,v)
that participated in the last relaxation for vertex v is an edge
in the shortest paths tree.
| |
| ExamineEdge |
Invoked on each out-edge of a vertex immediately after it has
been added to set S.
| |
| ExamineVertex |
Invoked on a vertex as it is removed from the priority queue and
added to set S. At this point we know that (p[u],u) is a
shortest-paths tree edge so
d[u] = delta(s,u) = d[p[u]] + w(p[u],u).
Also, the distances of the examined vertices is monotonically
increasing d[u1] <= d[u2] <= d[un].
| |
| FinishVertex |
Invoked on a vertex after all of its out edges have been examined.
| |
| InitializeVertex |
Invoked on each vertex in the graph before the start of the
algorithm.
|
