public class SimpleTransfer extends Edge
Edge.ValidVertexTypes| Constructor and Description |
|---|
SimpleTransfer(TransitStop from,
TransitStop to,
double distance,
com.vividsolutions.jts.geom.LineString geometry) |
SimpleTransfer(TransitStop from,
TransitStop to,
double distance,
com.vividsolutions.jts.geom.LineString geometry,
List<Edge> edges) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance() |
List<Edge> |
getEdges() |
com.vividsolutions.jts.geom.LineString |
getGeometry() |
String |
getName()
Gets english localized name
|
String |
getName(Locale locale)
Gets wanted localization
|
String |
toString() |
State |
traverse(State s0)
Traverse this edge.
|
double |
weightLowerBound(RoutingRequest rr)
Returns a lower bound on edge weight given the routing options.
|
getAzimuth, getDirection, getFromVertex, getId, getToVertex, getTrip, getValidVertexTypes, hasBogusName, hashCode, isEquivalentTo, isPartial, isReverseOf, isRoundabout, optimisticTraverse, timeLowerBound, vertexTypesValidpublic SimpleTransfer(TransitStop from, TransitStop to, double distance, com.vividsolutions.jts.geom.LineString geometry, List<Edge> edges)
public SimpleTransfer(TransitStop from, TransitStop to, double distance, com.vividsolutions.jts.geom.LineString geometry)
public String getName(Locale locale)
Edgepublic double weightLowerBound(RoutingRequest rr)
EdgeweightLowerBound in class Edgepublic double getDistance()
getDistance in class Edgepublic com.vividsolutions.jts.geom.LineString getGeometry()
getGeometry in class EdgeCopyright © 2018. All rights reserved.