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, vertexTypesValid
public 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)
Edge
public double weightLowerBound(RoutingRequest rr)
Edge
weightLowerBound
in class Edge
public double getDistance()
getDistance
in class Edge
public com.vividsolutions.jts.geom.LineString getGeometry()
getGeometry
in class Edge
Copyright © 2018. All rights reserved.