Examples of queryChangeRoute()


Examples of it.polito.appeal.traci.Vehicle.queryChangeRoute()

    List<Edge> newRoute = new ArrayList<Edge>();
    newRoute.add(conn.getEdgeRepository().getByID("beg"));
    newRoute.add(conn.getEdgeRepository().getByID("beg2left"));
    newRoute.add(conn.getEdgeRepository().getByID("left"));
    newRoute.add(conn.getEdgeRepository().getByID("left2end"));
    ChangeRouteQuery crq = v.queryChangeRoute();
    crq.setValue(newRoute);
    crq.run();
    assertEquals(newRoute, v.queryReadCurrentRoute().get());
  }
 
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.