org.onebusaway.transit_data_federation.impl.otp
Class TransitShedVertexSkipStrategy
java.lang.Object
org.onebusaway.transit_data_federation.impl.otp.TransitShedVertexSkipStrategy
- All Implemented Interfaces:
- VertexSkipStrategy
public class TransitShedVertexSkipStrategy
- extends Object
- implements VertexSkipStrategy
In our transit-shed calculation, we effectively don't allow you to exit the
transit network once you've entered, avoiding the overhead of computing the
walk-shed from every transit stop you might arrive at. We care only that you
made it to the stop.
- Author:
- bdferris
Method Summary |
boolean |
isVertexSkippedInFowardSearch(org.opentripplanner.routing.core.Vertex origin,
org.opentripplanner.routing.core.State originState,
org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.TraverseOptions options)
|
boolean |
isVertexSkippedInReverseSearch(org.opentripplanner.routing.core.Vertex target,
org.opentripplanner.routing.core.State targetState,
org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.TraverseOptions options)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransitShedVertexSkipStrategy
public TransitShedVertexSkipStrategy()
isVertexSkippedInFowardSearch
public boolean isVertexSkippedInFowardSearch(org.opentripplanner.routing.core.Vertex origin,
org.opentripplanner.routing.core.State originState,
org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.TraverseOptions options)
- Specified by:
isVertexSkippedInFowardSearch
in interface VertexSkipStrategy
isVertexSkippedInReverseSearch
public boolean isVertexSkippedInReverseSearch(org.opentripplanner.routing.core.Vertex target,
org.opentripplanner.routing.core.State targetState,
org.opentripplanner.routing.core.State state,
org.opentripplanner.routing.core.TraverseOptions options)
- Specified by:
isVertexSkippedInReverseSearch
in interface VertexSkipStrategy
Copyright © 2012 OneBusAway. All Rights Reserved.