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

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractStopVertex
          extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractStopVertexWithEdges
All Implemented Interfaces:
Cloneable, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
Direct Known Subclasses:
TPOfflineNearbyStopsVertex, TPOfflineOriginVertex

public abstract class AbstractStopVertexWithEdges
extends AbstractStopVertex
implements org.opentripplanner.routing.core.HasEdges


Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractStopVertex
_stop
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
AbstractStopVertexWithEdges(GraphContext context, StopEntry stop)
           
 
Method Summary
 int getDegreeIn()
           
 int getDegreeOut()
           
 Collection<org.opentripplanner.routing.core.Edge> getIncoming()
           
 Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
           
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractStopVertex
equals, getStop, getStopId, getX, getY, hashCode
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 
Methods inherited from interface org.opentripplanner.routing.core.Vertex
toString
 

Constructor Detail

AbstractStopVertexWithEdges

public AbstractStopVertexWithEdges(GraphContext context,
                                   StopEntry stop)
Method Detail

getDegreeIn

public int getDegreeIn()
Specified by:
getDegreeIn in interface org.opentripplanner.routing.core.HasEdges

getDegreeOut

public int getDegreeOut()
Specified by:
getDegreeOut in interface org.opentripplanner.routing.core.HasEdges

getIncoming

public Collection<org.opentripplanner.routing.core.Edge> getIncoming()
Specified by:
getIncoming in interface org.opentripplanner.routing.core.HasEdges

getOutgoing

public Collection<org.opentripplanner.routing.core.Edge> getOutgoing()
Specified by:
getOutgoing in interface org.opentripplanner.routing.core.HasEdges


Copyright © 2011 OneBusAway. All Rights Reserved.