Package org.movsim.autogen

Examples of org.movsim.autogen.ControllerGroup


    private void setUp(org.movsim.autogen.TrafficLights trafficLightsInput, RoadNetwork roadNetwork) {
        Map<String, ControllerGroup> controllerGroupInput = createControllerMapping(trafficLightsInput);
        for (RoadSegment roadSegment : roadNetwork) {
            for (TrafficLightLocation location : roadSegment.trafficLightLocations()) {
                ControllerGroup controllerGroup = controllerGroupInput.get(location.controllerId());
                if (controllerGroup == null) {
                    throw new IllegalStateException("no controllerGroup for id=" + location.controllerId()
                            + " defined in input");
                }
                TrafficLight trafficLight = getOrCreate(location, controllerGroup);
View Full Code Here

TOP

Related Classes of org.movsim.autogen.ControllerGroup

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.