Commenting
This commit is contained in:
parent
021e75a90f
commit
65b17e7bf0
|
@ -16,7 +16,7 @@ to setup-gis
|
||||||
; initialize patch name
|
; initialize patch name
|
||||||
ask patches [ set county-name "No name" ]
|
ask patches [ set county-name "No name" ]
|
||||||
|
|
||||||
; initialize county-names
|
; initialize county-names to an empty list
|
||||||
set county-names []
|
set county-names []
|
||||||
|
|
||||||
; import counties borders from a shp file
|
; import counties borders from a shp file
|
||||||
|
@ -75,6 +75,7 @@ to setup
|
||||||
end
|
end
|
||||||
|
|
||||||
to go
|
to go
|
||||||
|
; move according to a strategy (here, maximize the utility)
|
||||||
ask beekeepers
|
ask beekeepers
|
||||||
[ move-to max-one-of spots with [ not any? beekeepers-on self] [ beekeep-utility 5 flower-type (distance myself) ] ]
|
[ move-to max-one-of spots with [ not any? beekeepers-on self] [ beekeep-utility 5 flower-type (distance myself) ] ]
|
||||||
|
|
||||||
|
@ -285,6 +286,27 @@ NIL
|
||||||
NIL
|
NIL
|
||||||
1
|
1
|
||||||
|
|
||||||
|
PLOT
|
||||||
|
12
|
||||||
|
573
|
||||||
|
505
|
||||||
|
885
|
||||||
|
Emplacements
|
||||||
|
NIL
|
||||||
|
NIL
|
||||||
|
0.0
|
||||||
|
10.0
|
||||||
|
0.0
|
||||||
|
10.0
|
||||||
|
true
|
||||||
|
true
|
||||||
|
"" ""
|
||||||
|
PENS
|
||||||
|
"Accacia" 1.0 0 -2674135 true "" "plot count beekeepers-on spots with [ flower-type = \"AC\" ]"
|
||||||
|
"Sunflower" 1.0 0 -1184463 true "" "plot count beekeepers-on spots with [ flower-type = \"SF\" ]"
|
||||||
|
"Lime" 1.0 0 -10899396 true "" "plot count beekeepers-on spots with [ flower-type = \"LM\" ]"
|
||||||
|
"Polyflower" 1.0 0 -8630108 true "" "plot count beekeepers-on spots with [ flower-type = \"PF\" ]"
|
||||||
|
|
||||||
@#$#@#$#@
|
@#$#@#$#@
|
||||||
## WHAT IS IT?
|
## WHAT IS IT?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user