Commit b6d31dd9 authored by Tobias Meuser's avatar Tobias Meuser Committed by Jose Ignacio Monreal Bailey
Browse files

Working version for WoWMoM paper

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