Package org.onebusaway.transit_data_federation.services.tripplanner

Examples of org.onebusaway.transit_data_federation.services.tripplanner.CompactedTransferPattern


    _log.info("transfer patterns loaded");

    for (Map.Entry<AgencyAndId, CompactedTransferPattern> entry : patternsByStopId.entrySet()) {
      AgencyAndId stopId = entry.getKey();
      StopEntry stop = _transitGraphDao.getStopEntryForId(stopId, true);
      CompactedTransferPattern pattern = entry.getValue();
      pattern.setAllStops(_transitGraphDao.getAllStops());
      _transferPatternsByStop.put(stop, pattern);
    }
  }
View Full Code Here


    }

    if (exitAllowedOffset == -1 || hubOffset == -1)
      throw new IllegalStateException();

    CompactedTransferPattern pattern = new CompactedTransferPattern(
        stopIndexArray, parentIndicesArray, exitAllowedOffset, hubOffset);
    pattern.setAllStops(_allStops);

    TransferPattern existing = _patternsByOriginStop.put(originStop, pattern);
    if (existing != null)
      _log.warn("overriding pattern for stop " + originStop.getId());
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data_federation.services.tripplanner.CompactedTransferPattern

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.