Package | Description |
---|---|
org.opentripplanner.api.model | |
org.opentripplanner.api.parameter |
This package contains classes which interpret incoming HTTP query parameters.
|
org.opentripplanner.graph_builder.linking | |
org.opentripplanner.gtfs |
This package contains a GTFS loader library.
|
org.opentripplanner.profile | |
org.opentripplanner.routing.core | |
org.opentripplanner.routing.edgetype | |
org.opentripplanner.routing.flex | |
org.opentripplanner.routing.graph | |
org.opentripplanner.routing.transit_index | |
org.opentripplanner.routing.vertextype | |
org.opentripplanner.util |
Modifier and Type | Field and Description |
---|---|
HashSet<TraverseMode> |
RouterInfo.transitModes |
Modifier and Type | Field and Description |
---|---|
TraverseMode |
QualifiedMode.mode |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleStreetSplitter.link(Vertex vertex,
TraverseMode traverseMode,
RoutingRequest options)
Link this vertex into the graph
|
Modifier and Type | Method and Description |
---|---|
static TraverseMode |
GtfsLibrary.getTraverseMode(Route route) |
Modifier and Type | Field and Description |
---|---|
TraverseMode |
Segment.mode |
Modifier and Type | Field and Description |
---|---|
protected TraverseMode |
StateData.backMode
The mode that was used to traverse the backEdge
|
protected TraverseMode |
StateData.nonTransitMode |
Modifier and Type | Method and Description |
---|---|
TraverseMode |
State.getBackMode() |
TraverseMode |
State.getNonTransitMode()
This method is on State rather than RoutingRequest because we care whether the user is in
possession of a rented bike.
|
static TraverseMode |
TraverseMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraverseMode[] |
TraverseMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<TraverseMode> |
TraverseModeSet.getModes() |
static Set<TraverseMode> |
TraverseMode.internSet(Set<TraverseMode> modeSet) |
Modifier and Type | Method and Description |
---|---|
void |
RoutingRequest.addMode(TraverseMode mode)
Add a TraverseMode to the set of allowed modes.
|
void |
StateEditor.beginVehicleRenting(TraverseMode vehicleMode) |
double |
SimpleIntersectionTraversalCostModel.computeTraversalCost(IntersectionVertex v,
StreetEdge from,
StreetEdge to,
TraverseMode mode,
RoutingRequest options,
float fromSpeed,
float toSpeed) |
abstract double |
AbstractIntersectionTraversalCostModel.computeTraversalCost(IntersectionVertex v,
StreetEdge from,
StreetEdge to,
TraverseMode mode,
RoutingRequest options,
float fromSpeed,
float toSpeed) |
double |
IntersectionTraversalCostModel.computeTraversalCost(IntersectionVertex v,
StreetEdge from,
StreetEdge to,
TraverseMode mode,
RoutingRequest options,
float fromSpeed,
float toSpeed)
Compute the cost of turning onto "to" from "from".
|
double |
ConstantIntersectionTraversalCostModel.computeTraversalCost(IntersectionVertex v,
StreetEdge from,
StreetEdge to,
TraverseMode mode,
RoutingRequest options,
float fromSpeed,
float toSpeed) |
boolean |
TraverseModeSet.contains(TraverseMode mode) |
int |
RoutingRequest.getAlightTime(TraverseMode transitMode) |
int |
RoutingRequest.getBoardCost(TraverseMode mode) |
int |
RoutingRequest.getBoardTime(TraverseMode transitMode) |
double |
RoutingRequest.getSpeed(TraverseMode mode) |
void |
RoutingRequest.removeMode(TraverseMode mode) |
void |
StateEditor.setBackMode(TraverseMode mode) |
void |
RoutingRequest.setMode(TraverseMode mode) |
void |
TraverseModeSet.setMode(TraverseMode mode,
boolean value) |
Modifier and Type | Method and Description |
---|---|
void |
RoutingRequest.addMode(List<TraverseMode> mList)
Add multiple modes to the set of allowed modes.
|
static Set<TraverseMode> |
TraverseMode.internSet(Set<TraverseMode> modeSet) |
Constructor and Description |
---|
RoutingRequest(TraverseMode mode) |
RoutingRequest(TraverseMode mode,
OptimizeType optimize) |
TraverseModeSet(TraverseMode... modes) |
Constructor and Description |
---|
TraverseModeSet(Collection<TraverseMode> modeList) |
Modifier and Type | Field and Description |
---|---|
TraverseMode |
TripPattern.mode
The traverse mode for all trips in this pattern.
|
Modifier and Type | Method and Description |
---|---|
TraverseMode |
PreBoardEdge.getMode() |
TraverseMode |
PathwayEdge.getMode() |
TraverseMode |
PatternHop.getMode() |
TraverseMode |
TransitBoardAlight.getMode() |
TraverseMode |
OnBoardDepartPatternHop.getMode() |
TraverseMode |
PatternDwell.getMode() |
TraverseMode |
TransferEdge.getMode() |
TraverseMode |
PreAlightEdge.getMode() |
TraverseMode |
StreetTransitLink.getMode() |
Modifier and Type | Method and Description |
---|---|
boolean |
StreetTraversalPermission.allows(TraverseMode mode)
Returns true if the given mode is allowed to use this street.
|
double |
StreetEdge.calculateSpeed(RoutingRequest options,
TraverseMode traverseMode,
long timeMillis)
Calculate the speed appropriately given the RoutingRequest and traverseMode and the current wall clock time.
|
boolean |
StreetEdge.canTraverseIncludingBarrier(TraverseMode mode)
This checks if start or end vertex is bollard
If it is it creates intersection of street edge permissions
and from/to barriers.
|
boolean |
StreetEdge.canTurnOnto(Edge e,
State state,
TraverseMode mode) |
Constructor and Description |
---|
TransitBoardAlight(PatternStopVertex fromPatternStop,
TransitStopArrive toStationVertex,
int stopIndex,
TraverseMode mode)
Alighting constructor (PatternStopVertex --> TransitStopArrive)
|
TransitBoardAlight(TransitStopDepart fromStopVertex,
PatternStopVertex toPatternVertex,
int stopIndex,
TraverseMode mode)
Boarding constructor (TransitStopDepart --> PatternStopVertex)
|
Modifier and Type | Method and Description |
---|---|
TraverseMode |
DeviatedRouteGraphModifier.getMode() |
TraverseMode |
FlagStopGraphModifier.getMode() |
abstract TraverseMode |
GtfsFlexGraphModifier.getMode()
Return the mode that the graph search should be in.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
CarPermissionSearch.findVertexWithPermission(Vertex vertex,
TraverseMode mode) |
Modifier and Type | Field and Description |
---|---|
Map<TraverseMode,Integer> |
Graph.alightTimes
Has information how much time alighting a vehicle takes.
|
Map<TraverseMode,Integer> |
Graph.boardTimes
Has information how much time boarding a vehicle takes.
|
Modifier and Type | Method and Description |
---|---|
HashSet<TraverseMode> |
Graph.getTransitModes() |
Modifier and Type | Method and Description |
---|---|
void |
Graph.addTransitMode(TraverseMode mode)
Adds mode of transport to transit modes in graph
|
Modifier and Type | Method and Description |
---|---|
TraverseMode |
RouteVariant.getTraverseMode() |
Modifier and Type | Method and Description |
---|---|
TraverseMode |
BikeRentalStationVertex.getVehicleMode()
Tell the routing algorithm what kind of vehicle is being rented or dropped off here.
|
Modifier and Type | Method and Description |
---|---|
void |
TransitStop.addMode(TraverseMode mode) |
Modifier and Type | Method and Description |
---|---|
static List<TravelOption> |
TravelOptionsMaker.makeOptions(HashSet<TraverseMode> transitModes,
boolean hasBikeSharing,
boolean hasBikeRide,
boolean hasParkRide) |
Copyright © 2019. All rights reserved.