Examples of StopTimeService


Examples of org.onebusaway.transit_data_federation.services.StopTimeService

        + options.minTransferTime * options.waitReluctance;

    if (s0.getNumBoardings() > 0)
      transferWeight += options.boardCost;

    StopTimeService stopTimeService = _context.getStopTimeService();

    long time = s0.getTime() + (transferTime + options.minTransferTime) * 1000;

    List<StopTimeInstance> instances = stopTimeService.getNextBlockSequenceDeparturesForStop(
        _transfer.getStop(), time, false);

    State results = null;

    for (StopTimeInstance instance : instances) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.