The DagShortestPathAlgorithm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DagShortestPathAlgorithm |
Builds a new Dagsearcher.
|
Methods
| Name | Description | |
|---|---|---|
| Compute |
Computes all the shortest path from s to the oter vertices
| |
| 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.) | |
| OnDiscoverVertex |
Triggers the DiscoverVertex event
| |
| OnEdgeNotRelaxed |
Triggers the EdgeNotRelaxed event
| |
| OnEdgeRelaxed |
Triggers the EdgeRelaxed event
| |
| OnExamineEdge |
Triggers the ExamineEdge event
| |
| OnExamineVertex |
Triggers the ExamineVertex event
| |
| OnFinishVertex |
Triggers the FinishVertex event
| |
| OnInitializeVertex |
Triggers the InitializeVertex event
| |
| RegisterVertexColorizerHandlers | ||
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Colors |
Vertex color map
| |
| Distances |
Constructed distance map
| |
| Predecessors |
Constructed predecessor map
| |
| 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 added to set S.
| |
| 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.
|
