Commit f4af1a74 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Removed block of edge

parents b792a9ca 385e04ea
...@@ -264,8 +264,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler, Future ...@@ -264,8 +264,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler, Future
scenarioWidth = _extractor.getScenarioWidth(); scenarioWidth = _extractor.getScenarioWidth();
scenarioHeight = _extractor.getScenarioHeight(); scenarioHeight = _extractor.getScenarioHeight();
Event.scheduleWithDelay(60 * Time.SECOND, this, null, 1);
System.out.println("Initialization: done."); System.out.println("Initialization: done.");
} }
} }
...@@ -277,10 +275,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler, Future ...@@ -277,10 +275,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler, Future
*/ */
@Override @Override
public void eventOccurred(Object content, int type) { public void eventOccurred(Object content, int type) {
if (type == 1) {
getRoadNetwork().getEdge("A5.8").changeEdgeMaxSpeed(0);
}
/* /*
* One event for all nodes (synchronized movement), as this boosts * One event for all nodes (synchronized movement), as this boosts
* simulation performance due to less recalculations in the network * simulation performance due to less recalculations in the network
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment