org.onebusaway.transit_data_federation.impl.otp.graph
public abstract class AbstractBlockVertex extends AbstractVertexWithEdges implements HasStopTransitVertex
Modifier and Type | Field and Description |
---|---|
protected ArrivalAndDepartureInstance |
_instance |
_context
Constructor and Description |
---|
AbstractBlockVertex(GraphContext context,
ArrivalAndDepartureInstance instance) |
Modifier and Type | Method and Description |
---|---|
double |
distance(org.opentripplanner.routing.core.Vertex v) |
boolean |
equals(Object obj) |
ArrivalAndDepartureInstance |
getInstance() |
StopEntry |
getStop() |
org.onebusaway.gtfs.model.AgencyAndId |
getStopId() |
double |
getX() |
double |
getY() |
int |
hashCode()
Object Interface |
getDegreeIn, getDegreeOut, getIncoming, getOutgoing
distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, setDistanceToNearestTransitStop
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getContext
protected final ArrivalAndDepartureInstance _instance
public AbstractBlockVertex(GraphContext context, ArrivalAndDepartureInstance instance)
public ArrivalAndDepartureInstance getInstance()
public StopEntry getStop()
getStop
in interface HasStopTransitVertex
public org.onebusaway.gtfs.model.AgencyAndId getStopId()
getStopId
in interface org.opentripplanner.routing.core.Vertex
getStopId
in class AbstractVertex
public double distance(org.opentripplanner.routing.core.Vertex v)
distance
in interface org.opentripplanner.routing.core.Vertex
distance
in class AbstractVertex
public double getX()
getX
in interface org.opentripplanner.routing.core.Vertex
public double getY()
getY
in interface org.opentripplanner.routing.core.Vertex
Copyright © 2014 OneBusAway. All Rights Reserved.