Examples of StateEditor


Examples of org.opentripplanner.routing.core.StateEditor

        options);
    int t = transferTime + options.minTransferTime;

    EdgeNarrative narrative = createNarrative(s0, s0.getTime() + t * 1000);

    StateEditor edit = s0.edit(this, narrative);
    edit.incrementTimeInSeconds(t);

    double weight = ItineraryWeightingLibrary.computeTransferWeight(
        transferTime, options);
    edit.incrementWeight(weight);

    return edit.makeState();
  }
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.