The BellmanFordShortestPathAlgorithm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| BellmanFordShortestPathAlgorithm |
Builds a new Bellman Ford searcher.
|
Methods
| Name | Description | |
|---|---|---|
| Compute | Overloaded. | |
| 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.) | |
| 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 | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Colors |
Vertex color map
| |
| Distances |
Constructed distance map
| |
| Predecessors |
Constructed predecessor map
| |
| VisitedGraph | ||
| Weights |
Edge weights
|
Events
| Name | Description | |
|---|---|---|
| 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.
|
