org.onebusaway.transit_data_federation.impl
Class StopSequencesServiceImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.StopSequencesServiceImpl
All Implemented Interfaces:
StopSequencesService

@Component
public class StopSequencesServiceImpl
extends Object
implements StopSequencesService


Constructor Summary
StopSequencesServiceImpl()
           
 
Method Summary
 List<StopSequence> getStopSequencesForTrips(List<BlockTripEntry> trips)
          Recall that a stop sequence is a unique sequence of stops visited by a transit trip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopSequencesServiceImpl

public StopSequencesServiceImpl()
Method Detail

getStopSequencesForTrips

public List<StopSequence> getStopSequencesForTrips(List<BlockTripEntry> trips)
Description copied from interface: StopSequencesService
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.

Specified by:
getStopSequencesForTrips in interface StopSequencesService
Parameters:
trips - set of trips
Returns:
the set of unique stop sequences visited by the trips


Copyright © 2011 OneBusAway. All Rights Reserved.