Package de.hpi.eworld.visualizer.simulation.traci.commands.sent

Examples of de.hpi.eworld.visualizer.simulation.traci.commands.sent.SimulationStepCommandGenerator2


  public VehicleMovements simulateTrafficUntil(int time, boolean readOnly) throws Exception {
    // TraCI uses milliseconds as time unit
    // 1 time step = 1000 steps in sumo
    if(!readOnly) {
      this.time = time;
      SimulationStepCommandGenerator2 simulationStep = new SimulationStepCommandGenerator2(time * 1000);
      Message message = new Message(simulationStep);
      message.writeToStream(this.outputStream);
    }
   
    Map<String, double[]> added = new HashMap<String, double[]>();
View Full Code Here

TOP

Related Classes of de.hpi.eworld.visualizer.simulation.traci.commands.sent.SimulationStepCommandGenerator2

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.