Class TransitNodeRoutingPrecomputation.PathsUnpackingTask

java.lang.Object
org.jgrapht.alg.shortestpath.TransitNodeRoutingPrecomputation.PathsUnpackingTask
All Implemented Interfaces:
Runnable
Enclosing class:
TransitNodeRoutingPrecomputation<V,E>

private class TransitNodeRoutingPrecomputation.PathsUnpackingTask extends Object implements Runnable
Task which is used to unpack contracted many-to-many shortest paths between transit vertices.
  • Field Details

  • Constructor Details

    • PathsUnpackingTask

      public PathsUnpackingTask(int taskId, List<V> transitVertices, Map<V,Map<V,GraphPath<V,E>>> pathsMap, ManyToManyShortestPathsAlgorithm.ManyToManyShortestPaths<V,E> shortestPaths)
      Constructs a new instance for the given taskId, transitVertices, pathsMap and shortestPaths.
      Parameters:
      taskId - id of this task
      transitVertices - transit vertices
      pathsMap - map for unpacked paths
      shortestPaths - paths to be unpacked
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable