public class DirectTransferGenerator extends Object implements GraphBuilderModule
GraphBuilderModule
module that links up the stops of a transit network among themselves. This is necessary for
routing in long-distance mode.
It will use the street network if OSM data has already been loaded into the graph.
Otherwise it will use straight-line distance between stops.
TODO make tests for this that are sensitive to the presence of trip patternsConstructor and Description |
---|
DirectTransferGenerator(double radiusMeters) |
Modifier and Type | Method and Description |
---|---|
void |
buildGraph(Graph graph,
HashMap<Class<?>,Object> extra)
Process whatever inputs were supplied to this module and add the resulting elements to the given graph.
|
void |
checkInputs()
Check that all inputs to the graphbuilder are valid; throw an exception if not.
|
List<String> |
getPrerequisites() |
List<String> |
provides() |
public void buildGraph(Graph graph, HashMap<Class<?>,Object> extra)
GraphBuilderModule
buildGraph
in interface GraphBuilderModule
public void checkInputs()
GraphBuilderModule
checkInputs
in interface GraphBuilderModule
Copyright © 2018. All rights reserved.