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

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.BlockArrivalVertex
All Implemented Interfaces:
Cloneable, Comparable<BlockArrivalVertex>, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex

public class BlockArrivalVertex
extends AbstractBlockVertex
implements org.opentripplanner.routing.core.HasEdges, Comparable<BlockArrivalVertex>


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
BlockArrivalVertex(GraphContext graphContext, ArrivalAndDepartureInstance instance)
           
 
Method Summary
 int compareTo(BlockArrivalVertex o)
           
 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

BlockArrivalVertex

public BlockArrivalVertex(GraphContext graphContext,
                          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

compareTo

public int compareTo(BlockArrivalVertex o)
Specified by:
compareTo in interface Comparable<BlockArrivalVertex>


Copyright © 2011 OneBusAway. All Rights Reserved.