Module org.jgrapht.core
Package org.jgrapht.alg.shortestpath
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 Summary
FieldsModifier and TypeFieldDescriptionMap where the unpacked paths will be stored.Many-to-many shortest paths to be unpacked.private int
Id of this task.Selected transit vertices. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
taskId
private int taskIdId of this task. -
transitVertices
Selected transit vertices. -
pathsMap
Map where the unpacked paths will be stored. -
shortestPaths
Many-to-many shortest paths to be unpacked.
-
-
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 giventaskId
,transitVertices
,pathsMap
andshortestPaths
.- Parameters:
taskId
- id of this tasktransitVertices
- transit verticespathsMap
- map for unpacked pathsshortestPaths
- paths to be unpacked
-
-
Method Details