org.onebusaway.transit_data_federation.services
Interface StopSequenceCollectionService

All Known Implementing Classes:
StopSequenceCollectionServiceImpl

public interface StopSequenceCollectionService

Service method for grouping a set of StopSequence objects into StopSequenceCollection objects. Recall that a route typically has a set of unique stop sequences visited by the various trips serving that route. Here we group those stop sequences into collections, typically using direction of travel as the main grouping strategy.

Author:
bdferris

Method Summary
 List<StopSequenceCollection> getStopSequencesAsCollections(List<StopSequence> sequences)
          Group a set of stop sequence objects into a smaller set of stop sequence collections, typically grouping the stop sequences by direction of travel for the parent route.
 

Method Detail

getStopSequencesAsCollections

List<StopSequenceCollection> getStopSequencesAsCollections(List<StopSequence> sequences)
Group a set of stop sequence objects into a smaller set of stop sequence collections, typically grouping the stop sequences by direction of travel for the parent route.

Parameters:
sequences - the set of stop sequences
Returns:
the collection of stop sequence collection groups


Copyright © 2011 OneBusAway. All Rights Reserved.