Package de.hpi.eworld.exporter.sumo.data

Examples of de.hpi.eworld.exporter.sumo.data.SumoRoute.addEdge()


          "The route doesnt contain enough waypoints. Please add at least two waypoints to the current route.");
      return;
    }
    SumoRoute result = new SumoRoute(routeId.text());
    for(Edge e : selectedEdges)
      result.addEdge(e.getInternalID());
    signalFinished.emit(result);
    parentWidget().setVisible(true);
    this.close();
  }
 
View Full Code Here


          SumoRoute curRoute = new SumoRoute("route_for_vehicle_nr_" + id + "_"
              + UUID.randomUUID().toString());

          for (String curEdgeLabel : edgeList) {
            EdgeModel edgeToAdd = edges.get(curEdgeLabel);
            curRoute.addEdge(edgeToAdd.getInternalID());
          }

          sumoMan.addRoute(curRoute);
          SumoVehicle newVehicle = new SumoVehicle(depart, id, sumoMan.getSumoRouteById(curRoute
              .getId()), vType);
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.