public class StreetLinkerModule extends Object implements GraphBuilderModule
GraphBuilderModule
plugin that links various objects
in the graph to the street network. It should be run after both the transit network and street network are loaded.
It links three things: transit stops, bike rental stations, and park-and-ride lots. Therefore it should be run
even when there's no GTFS data present to make bike rental services and parking lots usable.Constructor and Description |
---|
StreetLinkerModule() |
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.
|
Boolean |
getAddExtraEdgesToAreas() |
List<String> |
getPrerequisites() |
List<String> |
provides() |
void |
setAddExtraEdgesToAreas(Boolean addExtraEdgesToAreas) |
public void setAddExtraEdgesToAreas(Boolean addExtraEdgesToAreas)
public Boolean getAddExtraEdgesToAreas()
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.