Package simulation

Examples of simulation.Simulation


   *         complete route
   * @throws Exception
   *             if anything goes wrong
   */
  public static String ExpandTrips(List<Edge> tripEdges) throws Exception {
    Simulation sim = Project.getCurrentlyLoadedProject().getSimulation();

    String simulationPath = sim.getExportPath();
    String roadNetworkFile = sim.getName() + ".net.xml";

    File tripsToExpand = new File(simulationPath + File.separator + "tripstoexpand.tmp");
    File expandedTrips = new File(simulationPath + File.separator + "expandedtrips.tmp");
    File expandedTripsAlt = new File(simulationPath + File.separator + "expandedtrips.tmp.alt");

View Full Code Here

TOP

Related Classes of simulation.Simulation

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.