Commit 0d6042dd authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Working version for WoWMoM paper

parent 4d6ed478
...@@ -90,8 +90,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler { ...@@ -90,8 +90,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler {
private VehicleController _controller; private VehicleController _controller;
private SimulationSetupExtractor _extractor; private SimulationSetupExtractor _extractor;
private List<Location> intersections;
private double _percentageOfKnownRoutes = 1; private double _percentageOfKnownRoutes = 1;
/** /**
...@@ -242,7 +240,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler { ...@@ -242,7 +240,6 @@ public class VehicleMovementModel implements MovementModel, EventHandler {
_extractor = simulationController; _extractor = simulationController;
} }
intersections = _extractor.getAllIntersections(true);
scenarioWidth = _extractor.getScenarioWidth(); scenarioWidth = _extractor.getScenarioWidth();
scenarioHeight = _extractor.getScenarioHeight(); scenarioHeight = _extractor.getScenarioHeight();
......
...@@ -626,7 +626,7 @@ public class TraciSimulationController implements VehicleController, SimulationS ...@@ -626,7 +626,7 @@ public class TraciSimulationController implements VehicleController, SimulationS
} }
inputStream.close(); inputStream.close();
} catch (IOException | ClassNotFoundException e) { } catch (IOException | ClassNotFoundException | NullPointerException e) {
//Nothing to do //Nothing to do
} }
} }
......
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