org.onebusaway.transit_data_federation.impl.otp.graph
Class BlockDepartureVertex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
          extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractBlockVertex
              extended by org.onebusaway.transit_data_federation.impl.otp.graph.BlockDepartureVertex
All Implemented Interfaces:
Cloneable, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex

public class BlockDepartureVertex
extends AbstractBlockVertex
implements org.opentripplanner.routing.core.HasEdges


Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractBlockVertex
_instance
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
BlockDepartureVertex(GraphContext context, ArrivalAndDepartureInstance instance)
           
 
Method Summary
 Collection<org.opentripplanner.routing.core.Edge> getIncoming()
          HasEdges Interface
 String getLabel()
          Vertex Interface
 Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
           
 String toString()
          Object Interface
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractBlockVertex
distance, equals, getInstance, getStop, getStopId, getX, getY, hashCode
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
getDegreeIn, getDegreeOut
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getName, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opentripplanner.routing.core.HasEdges
getDegreeIn, getDegreeOut
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 

Constructor Detail

BlockDepartureVertex

public BlockDepartureVertex(GraphContext context,
                            ArrivalAndDepartureInstance instance)
Method Detail

getLabel

public String getLabel()
Vertex Interface

Specified by:
getLabel in interface org.opentripplanner.routing.core.Vertex
Overrides:
getLabel in class AbstractVertex

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()
Object Interface

Specified by:
toString in interface org.opentripplanner.routing.core.Vertex
Overrides:
toString in class Object


Copyright © 2012 OneBusAway. All Rights Reserved.