Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thibaut DEMARE
DALSim
Commits
72717d73
Commit
72717d73
authored
Nov 08, 2018
by
ThibautDemare
Browse files
Create two seperate displays for Road and River traffic
parent
80a1c8a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
models/Experiments.gaml
View file @
72717d73
...
...
@@ -107,6 +107,19 @@ experiment 'Every output' type: gui {
event
[
mouse_down
]
action
:
block_one_road
;
}
display
'Road traffic'
autosave
:
true
refresh
:
every
(
1
)
{
species
Road
aspect
:
geom
;
event
[
mouse_down
]
action
:
block_one_road
;
}
display
'Maritime and River traffic'
autosave
:
true
refresh
:
every
(
1
)
{
species
MaritimeLine
aspect
:
geom
;
species
RiverLine
aspect
:
geom
;
species
MaritimeTerminal
aspect
:
geom
;
species
RiverTerminal
aspect
:
geom
;
species
MaritimeRiverTerminal
aspect
:
geom
;
event
[
mouse_down
]
action
:
block_one_road
;
}
/*
display
'Number of Vehicles'
refresh
:
every
(
1
)
{
chart
"Number of batches"
type
:
series
{
data
"Total number of batch"
value
:
totalNumberOfBatch
color
:
rgb
(
'purple'
)
;
...
...
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