org.onebusaway.transit_data_federation.impl.otp.graph
Class AbstractEdge
java.lang.Object
org.onebusaway.transit_data_federation.impl.otp.graph.AbstractEdge
- All Implemented Interfaces:
- org.opentripplanner.routing.core.Edge
- Direct Known Subclasses:
- ArrivalAndTransferEdge, ArrivalEdge, ArrivalReverseEdge, BlockDwellEdge, BlockForwardHopEdge, BlockHopEdge, DepartureEdge, DepartureReverseEdge, TPArrivalReverseEdge, TPBlockHopEdge, TPDepartureEdge, TPFreeEdge, TPOfflineArrivalEdge, TPOfflineBlockDwellEdge, TPOfflineBlockHopEdge, TPOfflineTransferEdge, TPTransferEdge, TransferAndDepartureEdge, WaitingBeginsAtStopEdge, WaitingEndsAtStopEdge
public abstract class AbstractEdge
- extends Object
- implements org.opentripplanner.routing.core.Edge
Method Summary |
void |
addPatch(org.opentripplanner.routing.patch.Patch patch)
|
org.opentripplanner.routing.core.Vertex |
getFromVertex()
Edge Interface |
List<org.opentripplanner.routing.patch.Patch> |
getPatches()
|
protected org.opentripplanner.routing.core.EdgeNarrative |
narrative(org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.Vertex fromVertex,
org.opentripplanner.routing.core.Vertex toVertex)
Protected Methods |
org.opentripplanner.routing.core.State |
optimisticTraverse(org.opentripplanner.routing.core.State s0)
|
void |
removePatch(org.opentripplanner.routing.patch.Patch patch)
|
void |
setFromVertex(org.opentripplanner.routing.core.Vertex fromVertex)
|
void |
setToVertex(org.opentripplanner.routing.core.Vertex toVertex)
|
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.Edge |
traverse |
_context
protected final GraphContext _context
AbstractEdge
public AbstractEdge(GraphContext context)
setFromVertex
public void setFromVertex(org.opentripplanner.routing.core.Vertex fromVertex)
setToVertex
public void setToVertex(org.opentripplanner.routing.core.Vertex toVertex)
getFromVertex
public org.opentripplanner.routing.core.Vertex getFromVertex()
Edge
Interface
- Specified by:
getFromVertex
in interface org.opentripplanner.routing.core.Edge
optimisticTraverse
public org.opentripplanner.routing.core.State optimisticTraverse(org.opentripplanner.routing.core.State s0)
- Specified by:
optimisticTraverse
in interface org.opentripplanner.routing.core.Edge
addPatch
public void addPatch(org.opentripplanner.routing.patch.Patch patch)
- Specified by:
addPatch
in interface org.opentripplanner.routing.core.Edge
getPatches
public List<org.opentripplanner.routing.patch.Patch> getPatches()
- Specified by:
getPatches
in interface org.opentripplanner.routing.core.Edge
removePatch
public void removePatch(org.opentripplanner.routing.patch.Patch patch)
- Specified by:
removePatch
in interface org.opentripplanner.routing.core.Edge
narrative
protected org.opentripplanner.routing.core.EdgeNarrative narrative(org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.Vertex fromVertex,
org.opentripplanner.routing.core.Vertex toVertex)
- Protected Methods
- Parameters:
state
- TODO
Copyright © 2012 OneBusAway. All Rights Reserved.