Package org.onebusaway.transit_data_federation.impl.realtime.history

Examples of org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistory


       * If we don't have enough samples, skip the trip
       */
      if (recordsByInstance.size() < _minSampleSize)
        continue;

      ScheduleDeviationHistory history = constructHistory(tripId,
          recordsByInstance);
      histories.add(history);
    }

    if (!histories.isEmpty())
View Full Code Here


      DoubleArrayList list = scheduleDeviations.get(traceIndex);
      list.trimToSize();
      scheduleDeviationsArrays[traceIndex] = list.elements();
    }

    return new ScheduleDeviationHistory(tripId, scheduleTimesArray,
        scheduleDeviationsArrays);
  }
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.