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
f4af1a74
Commit
f4af1a74
authored
Sep 18, 2017
by
Tobias Meuser
Browse files
Removed block of edge
parents
b792a9ca
385e04ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/movement/VehicleMovementModel.java
View file @
f4af1a74
...
@@ -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
...
...
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