Class StopSequencesServiceImpl

    • 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
        trips - set of trips
        the set of unique stop sequences visited by the trips