org.onebusaway.transit_data_federation.services.tripplanner
Class CompactedTransferPattern
java.lang.Object
org.onebusaway.transit_data_federation.services.tripplanner.CompactedTransferPattern
- All Implemented Interfaces:
- Serializable, TransferPattern
public class CompactedTransferPattern
- extends Object
- implements TransferPattern, Serializable
- See Also:
- Serialized Form
Constructor Summary |
CompactedTransferPattern(short[] stopIndices,
int[] parentIndices,
int exitAllowedOffset,
int hubOffset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompactedTransferPattern
public CompactedTransferPattern(short[] stopIndices,
int[] parentIndices,
int exitAllowedOffset,
int hubOffset)
setAllStops
public void setAllStops(List<StopEntry> allStops)
getOriginStop
public StopEntry getOriginStop()
TransferPattern
Interface
- Specified by:
getOriginStop
in interface TransferPattern
getTransfersForStops
public Collection<TransferParent> getTransfersForStops(TransferParent root,
List<StopEntry> stops)
- Specified by:
getTransfersForStops
in interface TransferPattern
getTransfersForAllStops
public Collection<TransferParent> getTransfersForAllStops(TransferParent root)
- Specified by:
getTransfersForAllStops
in interface TransferPattern
getTransfersForHubStops
public Map<StopEntry,List<TransferParent>> getTransfersForHubStops(TransferParent root)
- Specified by:
getTransfersForHubStops
in interface TransferPattern
Copyright © 2012 OneBusAway. All Rights Reserved.