Class ShortestPathData

    • Constructor Detail

      • ShortestPathData

        public ShortestPathData​(Graph graph,
                                Node origin,
                                Node destination,
                                ArcInspector arcInspector)
        Construct a new instance of ShortestPathInputData with the given parameters.
        Parameters:
        graph - Graph in which the path should be looked for.
        origin - Origin node of the path.
        destination - Destination node of the path.
        arcInspector - Filter for arcs (used to allow only a specific set of arcs in the graph to be used).
    • Method Detail

      • getOrigin

        public Node getOrigin()
        Returns:
        Origin node for the path.
      • getDestination

        public Node getDestination()
        Returns:
        Destination node for the path.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object