Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ahmad Reza Cheraghi
swarm-sim
Commits
a450bbad
Commit
a450bbad
authored
Mar 13, 2019
by
Ahmad Reza
Browse files
Merge remote-tracking branch 'origin/master'
parents
6d07537f
4b9df01d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/sim.py
View file @
a450bbad
...
...
@@ -117,11 +117,11 @@ class Sim:
if
self
.
visualization
:
window
=
vis
.
VisWindow
(
self
.
window_size_x
,
self
.
window_size_y
,
self
)
window
.
run
()
while
self
.
get_actual_round
()
<=
self
.
get_max_round
()
and
self
.
__end
==
False
:
self
.
solution_mod
.
solution
(
self
)
self
.
csv_round_writer
.
next_line
(
self
.
get_actual_round
())
self
.
__round_counter
=
self
.
__round_counter
+
1
else
:
while
self
.
get_actual_round
()
<=
self
.
get_max_round
()
and
self
.
__end
==
False
:
self
.
solution_mod
.
solution
(
self
)
self
.
csv_round_writer
.
next_line
(
self
.
get_actual_round
())
self
.
__round_counter
=
self
.
__round_counter
+
1
#creating gnu plots
self
.
csv_round_writer
.
aggregate_metrics
()
...
...
Write
Preview
Supports
Markdown
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