Search in sources :

Example 1 with TransitEntranceVertex

use of org.opentripplanner.routing.vertextype.TransitEntranceVertex in project OpenTripPlanner by opentripplanner.

the class AddTransitModelEntitiesToGraph method addEntrancesToGraph.

private void addEntrancesToGraph(Graph graph) {
    for (Entrance entrance : transitService.getAllEntrances()) {
        TransitEntranceVertex entranceVertex = new TransitEntranceVertex(graph, entrance);
        stationElementNodes.put(entrance, entranceVertex);
    }
}
Also used : Entrance(org.opentripplanner.model.Entrance) TransitEntranceVertex(org.opentripplanner.routing.vertextype.TransitEntranceVertex)

Aggregations

Entrance (org.opentripplanner.model.Entrance)1 TransitEntranceVertex (org.opentripplanner.routing.vertextype.TransitEntranceVertex)1