org.onebusaway.transit_data_federation.impl.otp.graph.tp
Class TPBlockArrivalVertex
java.lang.Object
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
org.onebusaway.transit_data_federation.impl.otp.graph.tp.TPBlockArrivalVertex
- All Implemented Interfaces:
- Cloneable, HasStopTransitVertex, SearchLocal, HasPathStateVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
public class TPBlockArrivalVertex
- extends AbstractVertexWithEdges
- implements SearchLocal
_pathState
protected final TPState _pathState
_isDeparture
protected final boolean _isDeparture
TPBlockArrivalVertex
public TPBlockArrivalVertex(GraphContext context,
TPState pathState,
ArrivalAndDepartureInstance departure,
ArrivalAndDepartureInstance arrival)
getIncoming
public Collection<org.opentripplanner.routing.core.Edge> getIncoming()
HasEdges
Interface
- Specified by:
getIncoming
in interface org.opentripplanner.routing.core.HasEdges
- Overrides:
getIncoming
in class AbstractVertexWithEdges
getOutgoing
public Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
- Specified by:
getOutgoing
in interface org.opentripplanner.routing.core.HasEdges
- Overrides:
getOutgoing
in class AbstractVertexWithEdges
toString
public String toString()
- Specified by:
toString
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
toString
in class Object
getSearchLocalValue
public <T> T getSearchLocalValue()
- Search Local
- Specified by:
getSearchLocalValue
in interface SearchLocal
setSearchLocalValue
public <T> void setSearchLocalValue(T value)
- Specified by:
setSearchLocalValue
in interface SearchLocal
getPathState
public TPState getPathState()
- Specified by:
getPathState
in interface HasPathStateVertex
isDeparture
public boolean isDeparture()
- Specified by:
isDeparture
in interface HasPathStateVertex
getX
public double getX()
Vertex
Interface
- Specified by:
getX
in interface org.opentripplanner.routing.core.Vertex
getY
public double getY()
- Specified by:
getY
in interface org.opentripplanner.routing.core.Vertex
getStop
public StopEntry getStop()
HasStopTransitVertex
Interface
- Specified by:
getStop
in interface HasStopTransitVertex
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2012 OneBusAway. All Rights Reserved.