The BellmanFordShortestPathAlgorithm type exposes the following members.

Constructors

  NameDescription
BellmanFordShortestPathAlgorithm
Builds a new Bellman Ford searcher.

Methods

  NameDescription
ComputeOverloaded.
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.)
OnEdgeMinimized
Raises the EdgeMinimized event.
OnEdgeNotMinimized
Raises the EdgeNotMinimized event.
OnEdgeNotRelaxed
Raises the EdgeNotRelaxed event.
OnEdgeRelaxed
Raises the EdgeRelaxed event.
OnExamineEdge
Raises the ExamineEdge event.
OnInitializeVertex
Raises the InitializeVertex event.
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
Weights
Edge weights

Events

  NameDescription
EdgeMinimized
Invoked during the second stage of the algorithm, during the test of whether each edge was minimized. If the edge is minimized then this function is invoked.
EdgeNotMinimized
Invoked during the second stage of the algorithm, during the test of whether each edge was minimized. If the edge was not minimized, this function is invoked. This happens when there is a negative cycle in the graph.
EdgeNotRelaxed
Invoked if the distance label for the target vertex is not decreased.
EdgeRelaxed
Invoked when the distance label for the target vertex is decreased. The edge that participated in the last relaxation for vertex v is an edge in the shortest paths tree.
ExamineEdge
Invoked on every edge in the graph |V| times.
InitializeVertex
Invoked on each vertex in the graph before the start of the algorithm.

See Also