Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
0d6042dd
Commit
0d6042dd
authored
Dec 07, 2017
by
Tobias Meuser
Browse files
Working version for WoWMoM paper
parent
4d6ed478
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/VehicleMovementModel.java
View file @
0d6042dd
...
@@ -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
();
...
...
src/de/tud/kom/p2psim/impl/topology/movement/vehicular/sumo/simulation/controller/traci/TraciSimulationController.java
View file @
0d6042dd
...
@@ -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
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment