Class BaseMultiObjectiveShortestPathAlgorithm<V,E>

java.lang.Object
org.jgrapht.alg.shortestpath.BaseMultiObjectiveShortestPathAlgorithm<V,E>
Type Parameters:
V - the graph vertex type
E - the graph edge type
All Implemented Interfaces:
MultiObjectiveShortestPathAlgorithm<V,E>
Direct Known Subclasses:
MartinShortestPath

abstract class BaseMultiObjectiveShortestPathAlgorithm<V,E> extends Object implements MultiObjectiveShortestPathAlgorithm<V,E>
A base implementation of the multi-objective shortest path interface.
  • Field Details

    • GRAPH_MUST_CONTAIN_THE_SOURCE_VERTEX

      static final String GRAPH_MUST_CONTAIN_THE_SOURCE_VERTEX
      Error message for reporting that a source vertex is missing.
      See Also:
    • GRAPH_MUST_CONTAIN_THE_SINK_VERTEX

      static final String GRAPH_MUST_CONTAIN_THE_SINK_VERTEX
      Error message for reporting that a sink vertex is missing.
      See Also:
    • graph

      protected final Graph<V,E> graph
      The underlying graph.
  • Constructor Details

    • BaseMultiObjectiveShortestPathAlgorithm

      public BaseMultiObjectiveShortestPathAlgorithm(Graph<V,E> graph)
      Constructs a new instance of the algorithm for a given graph
      Parameters:
      graph - the graph
  • Method Details