1
Fork 0
mirror of https://github.com/Steffo99/turtle007.git synced 2024-11-22 04:54:19 +00:00

Effettua piccoli miglioramenti al progetto

This commit is contained in:
Steffo 2020-05-18 20:00:41 +02:00
parent dda245179c
commit 26b1dcf43c
Signed by: steffo
GPG key ID: 896A80F55F7C97F0

View file

@ -269,7 +269,9 @@ end
to go to go
tick tick
try-respawn-food if food-respawn [
try-respawn-food
]
respawn-ants respawn-ants
ask ants [t-work] ask ants [t-work]
ask patches [p-evaporate-pheromone] ask patches [p-evaporate-pheromone]
@ -362,7 +364,7 @@ Number
INPUTBOX INPUTBOX
1015 1015
90 90
1100 1120
150 150
nest-color nest-color
12.0 12.0
@ -373,7 +375,7 @@ Color
INPUTBOX INPUTBOX
1125 1125
155 155
1210 1230
215 215
food-color food-color
43.0 43.0
@ -568,9 +570,9 @@ NIL
INPUTBOX INPUTBOX
730 730
425 445
835 800
485 505
ants-qty ants-qty
100.0 100.0
1 1
@ -578,10 +580,10 @@ ants-qty
Number Number
INPUTBOX INPUTBOX
840 880
425 445
925 950
485 505
ant-color ant-color
15.0 15.0
1 1
@ -589,10 +591,10 @@ ant-color
Color Color
INPUTBOX INPUTBOX
930 955
425 445
1015 1025
485 505
ant-carrying-color ant-carrying-color
18.0 18.0
1 1
@ -624,7 +626,7 @@ Number
INPUTBOX INPUTBOX
1015 1015
350 350
1100 1120
410 410
pheromone-color pheromone-color
65.0 65.0
@ -633,9 +635,9 @@ pheromone-color
Color Color
PLOT PLOT
1215 1235
90 90
1415 1435
240 240
Ants with food Ants with food
Ticks Ticks
@ -651,9 +653,9 @@ PENS
"with-food" 1.0 0 -1069655 true "" "plot count ants with [carrying-food = 1]" "with-food" 1.0 0 -1069655 true "" "plot count ants with [carrying-food = 1]"
PLOT PLOT
1215 1235
245 245
1415 1435
395 395
Patches with food Patches with food
Ticks Ticks
@ -713,9 +715,9 @@ show-food
-1000 -1000
INPUTBOX INPUTBOX
1105 1125
90 90
1190 1230
150 150
distance-color distance-color
135.0 135.0
@ -735,10 +737,10 @@ show-distance
-1000 -1000
INPUTBOX INPUTBOX
730 805
490 445
800 875
550 505
random-angle random-angle
45.0 45.0
1 1
@ -746,10 +748,10 @@ random-angle
Number Number
INPUTBOX INPUTBOX
880 805
490 510
950 875
550 570
max-speed max-speed
2.0 2.0
1 1
@ -757,10 +759,10 @@ max-speed
Number Number
INPUTBOX INPUTBOX
1030 955
490 510
1100 1025
550 570
max-metabolism max-metabolism
5.0 5.0
1 1
@ -768,10 +770,10 @@ max-metabolism
Number Number
INPUTBOX INPUTBOX
805 730
490 510
875 800
550 570
min-speed min-speed
1.0 1.0
1 1
@ -779,10 +781,10 @@ min-speed
Number Number
INPUTBOX INPUTBOX
955 880
490 510
1025 950
550 570
min-metabolism min-metabolism
1.0 1.0
1 1
@ -790,10 +792,10 @@ min-metabolism
Number Number
INPUTBOX INPUTBOX
1105 1030
490 510
1175 1100
550 570
max-hunger max-hunger
400.0 400.0
1 1
@ -867,9 +869,9 @@ food-o-3
Number Number
PLOT PLOT
1215 1235
400 400
1415 1435
550 550
Ant deaths Ant deaths
NIL NIL
@ -885,9 +887,9 @@ PENS
"default" 1.0 0 -16777216 true "" "plot ant-deaths" "default" 1.0 0 -16777216 true "" "plot ant-deaths"
PLOT PLOT
1420 1440
90 90
1620 1640
240 240
Ant speeds Ant speeds
NIL NIL
@ -903,9 +905,9 @@ PENS
"default" 1.0 1 -13791810 true "" "histogram [speed] of ants" "default" 1.0 1 -13791810 true "" "histogram [speed] of ants"
PLOT PLOT
1420 1440
295 295
1620 1640
445 445
Ant metabolisms Ant metabolisms
NIL NIL
@ -921,9 +923,9 @@ PENS
"default" 1.0 1 -6459832 true "" "histogram [metabolism] of turtles" "default" 1.0 1 -6459832 true "" "histogram [metabolism] of turtles"
MONITOR MONITOR
1530 1550
450 450
1580 1600
495 495
M 3 M 3
count ants with [metabolism = 3] count ants with [metabolism = 3]
@ -932,9 +934,9 @@ count ants with [metabolism = 3]
11 11
MONITOR MONITOR
1475 1495
450 450
1525 1545
495 495
M 2 M 2
count ants with [metabolism = 2] count ants with [metabolism = 2]
@ -943,9 +945,9 @@ count ants with [metabolism = 2]
11 11
MONITOR MONITOR
1420 1440
450 450
1470 1490
495 495
M 1 M 1
count ants with [metabolism = 1] count ants with [metabolism = 1]
@ -954,9 +956,9 @@ count ants with [metabolism = 1]
11 11
MONITOR MONITOR
1585 1605
450 450
1635 1655
495 495
M 4 M 4
count ants with [metabolism = 4] count ants with [metabolism = 4]
@ -965,9 +967,9 @@ count ants with [metabolism = 4]
11 11
MONITOR MONITOR
1640 1660
450 450
1690 1710
495 495
M 5 M 5
count ants with [metabolism = 5] count ants with [metabolism = 5]
@ -976,9 +978,9 @@ count ants with [metabolism = 5]
11 11
MONITOR MONITOR
1420 1440
245 245
1515 1535
290 290
Speed 1 Speed 1
count ants with [speed = 1] count ants with [speed = 1]
@ -987,9 +989,9 @@ count ants with [speed = 1]
11 11
MONITOR MONITOR
1520 1540
245 245
1615 1635
290 290
Speed 2 Speed 2
count ants with [speed = 2] count ants with [speed = 2]
@ -998,9 +1000,9 @@ count ants with [speed = 2]
11 11
PLOT PLOT
1625 1645
90 90
1825 1845
240 240
Ant hunger Ant hunger
NIL NIL
@ -1015,6 +1017,17 @@ false
PENS PENS
"default" 50.0 1 -5825686 true "" "histogram [hunger] of ants" "default" 50.0 1 -5825686 true "" "histogram [hunger] of ants"
SWITCH
1125
220
1230
253
food-respawn
food-respawn
0
1
-1000
@#$#@#$#@ @#$#@#$#@
## WHAT IS IT? ## WHAT IS IT?