Class FciOrientDijkstra

java.lang.Object
edu.cmu.tetrad.search.FciOrientDijkstra

public class FciOrientDijkstra extends Object
A simple implementation of Dijkstra's algorithm for finding the shortest path in a graph. We are modifying the algorithm to find paths for rules R5, R9, and R10 in FciOrient. We are also modifying the algorithm to stop when an end node is reached. (The end node may be left unspecified, in which case the algorithm will find the shortest path to all nodes in the graph.)

Weights should all be positive. We report distances as total weights along the shortest path from the start node to the y node. We report unreachable nodes as being a distance of Integer.MAX_VALUE. We assume the graph is undirected. An end nodes may be specified, in which case, once the end node is reached, we report all further nodes as being at a distance of Integer.MAX_VALUE.

Author:
josephramsey, chat.