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

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
All Implemented Interfaces:
Cloneable, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
Direct Known Subclasses:
AbstractBlockVertex, AbstractTPOfflineBlockVertex, ArrivalVertex, DepartureVertex, TPArrivalVertex, TPBlockArrivalVertex, TPBlockDepartureVertex, TPDepartureVertex, TPOfflineArrivalVertex

public abstract class AbstractVertexWithEdges
extends AbstractVertex
implements org.opentripplanner.routing.core.HasEdges


Field Summary
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
AbstractVertexWithEdges(GraphContext context)
           
 
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.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, getStopId, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opentripplanner.routing.core.Vertex
getX, getY, toString
 

Constructor Detail

AbstractVertexWithEdges

public AbstractVertexWithEdges(GraphContext context)
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.