org.onebusaway.transit_data_federation.impl.otp.graph
Class AbstractVertexWithEdges
java.lang.Object
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
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
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 |
AbstractVertexWithEdges
public AbstractVertexWithEdges(GraphContext context)
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 © 2012 OneBusAway. All Rights Reserved.