org.onebusaway.transit_data_federation.impl.otp.graph
Class AbstractBlockVertex
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.AbstractBlockVertex
- All Implemented Interfaces:
- Cloneable, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
- Direct Known Subclasses:
- BlockArrivalVertex, BlockDepartureVertex
public abstract class AbstractBlockVertex
- extends AbstractVertexWithEdges
- implements HasStopTransitVertex
Methods inherited from interface org.opentripplanner.routing.core.Vertex |
toString |
_instance
protected final ArrivalAndDepartureInstance _instance
AbstractBlockVertex
public AbstractBlockVertex(GraphContext context,
ArrivalAndDepartureInstance instance)
getInstance
public ArrivalAndDepartureInstance getInstance()
getStop
public StopEntry getStop()
- Specified by:
getStop
in interface HasStopTransitVertex
getStopId
public org.onebusaway.gtfs.model.AgencyAndId getStopId()
- Specified by:
getStopId
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
getStopId
in class AbstractVertex
distance
public double distance(org.opentripplanner.routing.core.Vertex v)
- Specified by:
distance
in interface org.opentripplanner.routing.core.Vertex
- Overrides:
distance
in class AbstractVertex
getX
public double getX()
- Specified by:
getX
in interface org.opentripplanner.routing.core.Vertex
getY
public double getY()
- Specified by:
getY
in interface org.opentripplanner.routing.core.Vertex
hashCode
public int hashCode()
Object
Interface
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2012 OneBusAway. All Rights Reserved.