org.onebusaway.transit_data_federation.impl.otp.graph.tp
public class TPBlockDepartureVertex extends AbstractVertexWithEdges implements SearchLocal
Modifier and Type | Field and Description |
---|---|
protected boolean |
_isDeparture |
protected TPState |
_pathState |
_context
Constructor and Description |
---|
TPBlockDepartureVertex(GraphContext context,
TPState pathState,
ArrivalAndDepartureInstance departure,
ArrivalAndDepartureInstance arrival) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ArrivalAndDepartureInstance |
getArrival() |
ArrivalAndDepartureInstance |
getDeparture() |
Collection<org.opentripplanner.routing.core.Edge> |
getIncoming()
HasEdges Interface |
Collection<org.opentripplanner.routing.core.Edge> |
getOutgoing() |
TPState |
getPathState() |
<T> T |
getSearchLocalValue()
Search Local
|
StopEntry |
getStop()
HasStopTransitVertex Interface |
double |
getX()
Vertex Interface |
double |
getY() |
int |
hashCode() |
boolean |
isDeparture() |
<T> void |
setSearchLocalValue(T value) |
String |
toString() |
getDegreeIn, getDegreeOut
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, getStopId, setDistanceToNearestTransitStop
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getContext
protected final TPState _pathState
protected final boolean _isDeparture
public TPBlockDepartureVertex(GraphContext context, TPState pathState, ArrivalAndDepartureInstance departure, ArrivalAndDepartureInstance arrival)
public ArrivalAndDepartureInstance getDeparture()
public ArrivalAndDepartureInstance getArrival()
public Collection<org.opentripplanner.routing.core.Edge> getIncoming()
HasEdges
InterfacegetIncoming
in interface org.opentripplanner.routing.core.HasEdges
getIncoming
in class AbstractVertexWithEdges
public Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
getOutgoing
in interface org.opentripplanner.routing.core.HasEdges
getOutgoing
in class AbstractVertexWithEdges
public String toString()
public <T> T getSearchLocalValue()
getSearchLocalValue
in interface SearchLocal
public <T> void setSearchLocalValue(T value)
setSearchLocalValue
in interface SearchLocal
public TPState getPathState()
getPathState
in interface HasPathStateVertex
public boolean isDeparture()
isDeparture
in interface HasPathStateVertex
public double getX()
Vertex
InterfacegetX
in interface org.opentripplanner.routing.core.Vertex
public double getY()
getY
in interface org.opentripplanner.routing.core.Vertex
public StopEntry getStop()
HasStopTransitVertex
InterfacegetStop
in interface HasStopTransitVertex
Copyright © 2014 OneBusAway. All Rights Reserved.