org.onebusaway.transit_data_federation.services.tripplanner
Class CompactedTransferPattern

java.lang.Object
  extended by 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)
           
 
Method Summary
 StopEntry getOriginStop()
          TransferPattern Interface
 Collection<TransferParent> getTransfersForAllStops(TransferParent root)
           
 Map<StopEntry,List<TransferParent>> getTransfersForHubStops(TransferParent root)
           
 Collection<TransferParent> getTransfersForStops(TransferParent root, List<StopEntry> stops)
           
 void setAllStops(List<StopEntry> allStops)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactedTransferPattern

public CompactedTransferPattern(short[] stopIndices,
                                int[] parentIndices,
                                int exitAllowedOffset,
                                int hubOffset)
Method Detail

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.