org.onebusaway.transit_data_federation.services
Interface StopSequencesService
- All Known Implementing Classes:
- StopSequencesServiceImpl
public interface StopSequencesService
Service methods for generating StopSequence
objects from a collection
of Trip
objects and each trip's StopTime
objects. Recall that
a stop sequence is a unique sequence of stops visited by a transit trip. So
typically, multiple trips will often refer to the same stop sequence, but not
always. Here we find all unique sequences for the set of trips.
- Author:
- bdferris
- See Also:
StopSequence
getStopSequencesForTrips
List<StopSequence> getStopSequencesForTrips(List<BlockTripEntry> trips)
- Recall that a stop sequence is a unique sequence of stops visited by a
transit trip. So typically, multiple trips will often refer to the same
stop sequence, but not always. Here we find all unique sequences for the
set of trips.
- Parameters:
trips
- set of trips
- Returns:
- the set of unique stop sequences visited by the trips
Copyright © 2012 OneBusAway. All Rights Reserved.