The DagShortestPathAlgorithm type exposes the following members.

Constructors

  NameDescription
DagShortestPathAlgorithm
Builds a new Dagsearcher.

Methods

  NameDescription
Compute
Computes all the shortest path from s to the oter vertices
Equals
Determines whether the specified Object is equal to the current Object.
(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
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Colors
Vertex color map
Distances
Constructed distance map
Predecessors
Constructed predecessor map
VisitedGraph
Visited graph

Events

  NameDescription
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.

See Also