breeds [ninthwarders habitat business city houses] patches-own [roads ninthward water] houses-own [debris insurance repair employed poor percentdebris percentfixed willingtoreturn ELR percentemployed willingtoworkforhabitat] habitat-own [percentbroken percentrebuilt] globals [originalemployment] to setup clear-turtles clear-all-plots if (number-of-damaged-houses > number-of-houses) [user-message "Number of damaged houses can not be greater than number of houses." stop] setup-houses setup-habitat setup-city setup-patches setup-plot set originalemployment percent-employed end to setup-patches ask patches [ifelse (abs (pcolor - yellow) <= 2) [set roads true] [set roads false]] ask patches [ifelse (pxcor >= 100 and pxcor <= 135 and pycor >= 0 and pycor <= 100) [set ninthward true] [set ninthward false]] ask patches [ifelse (abs (pcolor - blue) <= 3) [set water true] [set water false]] end to setup-habitat create-habitat number-of-habitat-agents ask habitat [set shape "person construction"] ;;user defined number of habitat agents ask habitat [set size 6] ;;set habitat shape, size ask habitat [setxy 126 60] ask habitat [jump random 45] end to setup-city create-city number-of-city-agents ask city [set shape "person service"] ;;user defined number of habitat agents ask city [set size 6] ;;set habitat shape, size ask city [setxy 126 60] ask city [jump random 45] end to setup-houses create-houses number-of-houses ask houses [setxy 126 60] ;place turtles in 9th ward; have them jump forward randomly w/in 80 patches ask houses [jump random 45] ask houses [set size 6] ask houses [set shape "house"] ask random-n-of (number-of-damaged-houses) houses [set debris true] ask random-n-of (percent-with-insurance / 100 *(number-of-houses)) houses [set insurance true] ;;use defined percent w/ insurance ask random-n-of (percent-willing-to-return / 100 *(number-of-houses)) houses [set willingtoreturn true] ask random-n-of (percent-employed / 100 *(number-of-houses)) houses [set employed true] ask random-n-of (percent-ELR-willing / 100 *(number-of-houses)) houses [set willingtoworkforhabitat true] ask houses [if (abs (pcolor - blue) <= 3) [die]] ;; have it so turtles are not in water ask houses [if (abs (pcolor - black) <= 2) [die]] ;; have it so no turtles are off the map ask houses [ifelse (debris = true) [set shape "x"] [set debris false]] ;;create dilapidated structures ask houses [if (insurance = true and debris = false) [set shape "house colonial"]] ask houses [if (insurance = true and debris = true) [set shape "circle 2"]] ask houses [if (insurance = 0) [set insurance false]] ask houses [if (employed = 0) [set employed false]] ask houses [if (willingtoworkforhabitat = 0) [set willingtoworkforhabitat false]] ask houses [if (willingtoreturn = 0) [set willingtoreturn false]] ask houses [if (debris = false) [set repair true]] ;; the above commands are needed to make these variables false; convert from value of zero to false, ;not done automatically by not being true. end to setup-plot set-current-plot "Percent Employed" set-current-plot "Percent Rebuilt" end to go move-habitat fix-houses update-plot end to move-habitat ask habitat [ let housecount count (houses in-radius 20) ;;have habitat workers move around looking for houses that need repaired let debriscount count (houses in-radius 20) with [debris = true] let repaircount count (houses in-radius 20) with [debris = false] if housecount = 0 and water = false and ninthward = true [forward random 5] if (housecount != 0) [set percentbroken ((debriscount / housecount)* 100)] ;;same as percentdebris and percentfixed. given different if (housecount != 0) [set percentrebuilt 100 - percentbroken] ;name b/c habitat, a different breed, own these; just for if housecount != 0 and percentrebuilt < percent-I-want-fixed-nearby [right 20] ;programing, in other words. habitat move around as long if housecount != 0 and percentrebuilt < percent-I-want-fixed-nearby [forward random 5] ;as the percentrebuilt or fixed is less than if housecount != 0 and percentrebuilt >= percent-I-want-fixed-nearby and repaircount >= 0 [forward random 20] if water = true [setxy 126 60] ;percent people want rebuilt nearby if ninthward = false [setxy 126 60]] ;;workers don't go in water and move if no houses around end to fix-houses ask houses [ let housecount count (houses in-radius 20) ;counts number of houses and debris let debriscount count (houses in-radius 20) with [debris = true] let habitatcount count (habitat in-radius 10) if (housecount != 0) [set percentdebris ((debriscount / housecount)* 100)] if (housecount != 0) [set percentfixed 100 - percentdebris] if habitatcount != 0 and employed = false and habitat-acts-as-ELR = true and willingtoworkforhabitat = true [set ELR true] if habitat-acts-as-ELR = false [set ELR false] ;the above commands create different variables to be used in the commands below ;which repair houses and allocate employment ;the last line has it so that ELR program can be turned off and on "interactively" if habitatcount != 0 and housecount != 0 and percentfixed <= percent-I-want-fixed-nearby and habitat-builds-actively = true and willingtoreturn = true and (employed = true or ELR = true) [set repair true] ;the above command fixes houses if the HH is willing to return and is employed ;habitat builds even if the percent fixed nearby is less than percent people would like ;in essence, habitat overcomes the market failure of noone rebuilding b/c noone is rebuilding if habitatcount != 0 and housecount != 0 and percentfixed >= percent-I-want-fixed-nearby and habitat-builds-actively = false and willingtoreturn = true and (employed = true or ELR = true) [set repair true] ;the above commands are nearly identical except houses are only fixed if percent fixed nearby is high enough ;housecount !=0 ensures won't divide by zero if housecount != 0 and insurance = true and willingtoreturn = true and (employed = true or ELR = true) [set repair true] ;the above assumes houses are fixed as long as it is insured and people willing to return and have a job if repair = true [set shape "house efficiency"] if repair = true [set color pink] if repair = true and insurance = true [set color blue] if repair = true [set size 20] if repair = true [set debris false] if repair = 0 [set repair false]] ;note this last bracket!!! see below let unemployedcount count houses with [employed = false] if (((count houses with [repair = true]) / (count houses)) * 100 >= 40) [ask random-n-of (.05 * unemployedcount) houses with [employed = false] [set employed true]] set percent-employed ((count houses with [employed = true]) / (count houses)) * 100 ;;not the above command endogenizes percent-employed, tying it into percentfixed using a very simple, multiplicative forumla. ;;note that percent-willing-to-return or percent-ELR-willing can also be endogenized. ;;note that the slider will move as these variables change due to the last line. ;; if the last bracket is moved to the end of these commands, say after set ELR false (see below), then employment and ELR ;;employment move up and down very quickly. Not sure why yet. Note the bracket is the closing bracket for ;;the fix-houses block of commands. Runs differently if the endogenous employment and ELR employment in this ;;block of commands versus outside of it. let ELRcount count houses with [ELR = true] if percent-employed >= 80 [ask random-n-of (.5 * ELRcount) houses with [ELR = true] [set ELR false]] ;note this bracket ] ;the above commands endogenize ELR employment. ELR employment decreases once percent employed exceeds a given number end to update-plot set-current-plot "Percent Employed" set-current-plot-pen "Private Employment" plot ((count houses with [employed = true]) / (count houses)) * 100 set-current-plot-pen "ELR Employment" plot ((count houses with [ELR = true]) / (count houses)) * 100 set-current-plot "Percent Rebuilt" set-current-plot-pen "Percent Rebuilt" plot ((count houses with [repair = true]) / (count houses)) * 100 end ;note: in the fix-houses commands above, if repairs are only made when percentfixed > percent-I-want, habitat is ;not "actively" repairing houses; that is, it is not overcoming any resistance or market failure where people ;only rebuild if enough already have, and people don't rebuild b/c not enough have, not enough have b/c people don't rebuild..... @#$#@#$#@ GRAPHICS-WINDOW 263 10 880 405 300 180 1.01 1 10 1 1 1 0 1 1 1 CC-WINDOW 5 586 889 681 Command Center 0 BUTTON 5 11 97 44 Import Map import-pcolors "cleanneworleansmap.gif" NIL 1 T OBSERVER NIL NIL SLIDER 5 49 177 82 number-of-houses number-of-houses 0 10000 318 1 1 NIL SLIDER 5 84 205 117 number-of-damaged-houses number-of-damaged-houses 0 10000 286 1 1 NIL SLIDER 6 122 187 155 percent-with-insurance percent-with-insurance 0 100 50 1 1 NIL BUTTON 99 11 162 44 NIL setup NIL 1 T OBSERVER NIL NIL SLIDER 9 262 201 295 number-of-habitat-agents number-of-habitat-agents 0 100 50 1 1 NIL SLIDER 9 297 183 330 number-of-city-agents number-of-city-agents 0 100 0 1 1 NIL BUTTON 163 11 226 44 NIL go T 1 T OBSERVER T NIL SLIDER 10 333 219 366 percent-I-want-fixed-nearby percent-I-want-fixed-nearby 0 100 50 1 1 NIL SWITCH 9 391 186 424 habitat-builds-actively habitat-builds-actively 1 1 -1000 SLIDER 6 157 191 190 percent-willing-to-return percent-willing-to-return 0 100 50 1 1 NIL SLIDER 7 191 179 224 percent-employed percent-employed 0 100 50 1 1 NIL PLOT 381 422 581 572 Percent Employed time percent 0.0 10.0 0.0 100.0 true false PENS "Private Employment" 1.0 0 -16777216 true "ELR Employment" 1.0 0 -10899396 true SWITCH 10 428 176 461 habitat-acts-as-ELR habitat-acts-as-ELR 1 1 -1000 SLIDER 8 226 180 259 percent-ELR-willing percent-ELR-willing 0 100 50 1 1 NIL PLOT 588 422 788 572 Percent Rebuilt time percent 0.0 10.0 0.0 100.0 true false PENS "Percent Rebuilt" 1.0 0 -16777216 true @#$#@#$#@ WHAT IS IT? ----------- This section could give a general understanding of what the model is trying to show or explain. HOW IT WORKS ------------ This section could explain what rules the agents use to create the overall behavior of the model. HOW TO USE IT ------------- This section could explain how to use the model, including a description of each of the items in the interface tab. THINGS TO NOTICE ---------------- This section could give some ideas of things for the user to notice while running the model. THINGS TO TRY ------------- This section could give some ideas of things for the user to try to do (move sliders, switches, etc.) with the model. EXTENDING THE MODEL ------------------- This section could give some ideas of things to add or change in the procedures tab to make the model more complicated, detailed, accurate, etc. NETLOGO FEATURES ---------------- This section could point out any especially interesting or unusual features of NetLogo that the model makes use of, particularly in the Procedures tab. It might also point out places where workarounds were needed because of missing features. RELATED MODELS -------------- This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest. CREDITS AND REFERENCES ---------------------- This section could contain a reference to the model's URL on the web if it has one, as well as any other necessary credits or references. @#$#@#$#@ default true 0 Polygon -7500403 true true 150 5 40 250 150 205 260 250 airplane true 0 Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135 240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180 105 180 60 165 15 arrow true 0 Polygon -7500403 true true 150 0 0 150 105 150 105 293 195 293 195 150 300 150 box false 0 Polygon -7500403 true true 150 285 285 225 285 75 150 135 Polygon -7500403 true true 150 135 15 75 150 15 285 75 Polygon -7500403 true true 15 75 15 225 150 285 150 135 Line -16777216 false 150 285 150 135 Line -16777216 false 150 135 15 75 Line -16777216 false 150 135 285 75 bug true 0 Circle -7500403 true true 96 182 108 Circle -7500403 true true 110 127 80 Circle -7500403 true true 110 75 80 Line -7500403 true 150 100 80 30 Line -7500403 true 150 100 220 30 building institution false 0 Rectangle -7500403 true true 0 60 300 270 Rectangle -16777216 true false 130 196 168 256 Rectangle -16777216 false false 0 255 300 270 Polygon -7500403 true true 0 60 150 15 300 60 Polygon -16777216 false false 0 60 150 15 300 60 Circle -1 true false 135 26 30 Circle -16777216 false false 135 25 30 Rectangle -16777216 false false 0 60 300 75 Rectangle -16777216 false false 218 75 255 90 Rectangle -16777216 false false 218 240 255 255 Rectangle -16777216 false false 224 90 249 240 Rectangle -16777216 false false 45 75 82 90 Rectangle -16777216 false false 45 240 82 255 Rectangle -16777216 false false 51 90 76 240 Rectangle -16777216 false false 90 240 127 255 Rectangle -16777216 false false 90 75 127 90 Rectangle -16777216 false false 96 90 121 240 Rectangle -16777216 false false 179 90 204 240 Rectangle -16777216 false false 173 75 210 90 Rectangle -16777216 false false 173 240 210 255 Rectangle -16777216 false false 269 90 294 240 Rectangle -16777216 false false 263 75 300 90 Rectangle -16777216 false false 263 240 300 255 Rectangle -16777216 false false 0 240 37 255 Rectangle -16777216 false false 6 90 31 240 Rectangle -16777216 false false 0 75 37 90 Line -16777216 false 112 260 184 260 Line -16777216 false 105 265 196 265 butterfly true 0 Polygon -7500403 true true 150 165 209 199 225 225 225 255 195 270 165 255 150 240 Polygon -7500403 true true 150 165 89 198 75 225 75 255 105 270 135 255 150 240 Polygon -7500403 true true 139 148 100 105 55 90 25 90 10 105 10 135 25 180 40 195 85 194 139 163 Polygon -7500403 true true 162 150 200 105 245 90 275 90 290 105 290 135 275 180 260 195 215 195 162 165 Polygon -16777216 true false 150 255 135 225 120 150 135 120 150 105 165 120 180 150 165 225 Circle -16777216 true false 135 90 30 Line -16777216 false 150 105 195 60 Line -16777216 false 150 105 105 60 car false 0 Polygon -7500403 true true 300 180 279 164 261 144 240 135 226 132 213 106 203 84 185 63 159 50 135 50 75 60 0 150 0 165 0 225 300 225 300 180 Circle -16777216 true false 180 180 90 Circle -16777216 true false 30 180 90 Polygon -16777216 true false 162 80 132 78 134 135 209 135 194 105 189 96 180 89 Circle -7500403 true true 47 195 58 Circle -7500403 true true 195 195 58 circle false 0 Circle -7500403 true true 0 0 300 circle 2 false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 coin heads false 0 Circle -7500403 true true 15 15 270 Circle -16777216 false false 22 21 256 Line -16777216 false 165 180 192 196 Line -16777216 false 42 140 83 140 Line -16777216 false 37 151 91 151 Line -16777216 false 218 167 265 167 Polygon -16777216 false false 148 265 75 229 86 207 113 191 120 175 109 162 109 136 86 124 137 96 176 93 210 108 222 125 203 157 204 174 190 191 232 230 Polygon -16777216 false false 212 142 182 128 154 132 140 152 149 162 144 182 167 204 187 206 193 193 190 189 202 174 193 158 202 175 204 158 Line -16777216 false 164 154 182 152 Line -16777216 false 193 152 202 153 Polygon -16777216 false false 60 75 75 90 90 75 105 75 90 45 105 45 120 60 135 60 135 45 120 45 105 45 135 30 165 30 195 45 210 60 225 75 240 75 225 75 210 90 225 75 225 60 210 60 195 75 210 60 195 45 180 45 180 60 180 45 165 60 150 60 150 45 165 45 150 45 150 30 135 30 120 60 105 75 cow false 0 Polygon -7500403 true true 200 193 197 249 179 249 177 196 166 187 140 189 93 191 78 179 72 211 49 209 48 181 37 149 25 120 25 89 45 72 103 84 179 75 198 76 252 64 272 81 293 103 285 121 255 121 242 118 224 167 Polygon -7500403 true true 73 210 86 251 62 249 48 208 Polygon -7500403 true true 25 114 16 195 9 204 23 213 25 200 39 123 cylinder false 0 Circle -7500403 true true 0 0 300 dollar bill false 0 Rectangle -7500403 true true 15 90 285 210 Rectangle -1 true false 30 105 270 195 Circle -7500403 true true 120 120 60 Circle -7500403 true true 120 135 60 Circle -7500403 true true 254 178 26 Circle -7500403 true true 248 98 26 Circle -7500403 true true 18 97 36 Circle -7500403 true true 21 178 26 Circle -7500403 true true 66 135 28 Circle -1 true false 72 141 16 Circle -7500403 true true 201 138 32 Circle -1 true false 209 146 16 Rectangle -16777216 true false 64 112 86 118 Rectangle -16777216 true false 90 112 124 118 Rectangle -16777216 true false 128 112 188 118 Rectangle -16777216 true false 191 112 237 118 Rectangle -1 true false 106 199 128 205 Rectangle -1 true false 90 96 209 98 Rectangle -7500403 true true 60 168 103 176 Rectangle -7500403 true true 199 127 230 133 Line -7500403 true 59 184 104 184 Line -7500403 true 241 189 196 189 Line -7500403 true 59 189 104 189 Line -16777216 false 116 124 71 124 Polygon -1 true false 127 179 142 167 142 160 130 150 126 148 142 132 158 132 173 152 167 156 164 167 174 176 161 193 135 192 Rectangle -1 true false 134 199 184 205 dot false 0 Circle -7500403 true true 90 90 120 face happy false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 255 90 239 62 213 47 191 67 179 90 203 109 218 150 225 192 218 210 203 227 181 251 194 236 217 212 240 face neutral false 0 Circle -7500403 true true 8 7 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Rectangle -16777216 true false 60 195 240 225 face sad false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 168 90 184 62 210 47 232 67 244 90 220 109 205 150 198 192 205 210 220 227 242 251 229 236 206 212 183 factory false 0 Rectangle -7500403 true true 76 194 285 270 Rectangle -7500403 true true 36 95 59 231 Rectangle -16777216 true false 90 210 270 240 Line -7500403 true 90 195 90 255 Line -7500403 true 120 195 120 255 Line -7500403 true 150 195 150 240 Line -7500403 true 180 195 180 255 Line -7500403 true 210 210 210 240 Line -7500403 true 240 210 240 240 Line -7500403 true 90 225 270 225 Circle -1 true false 37 73 32 Circle -1 true false 55 38 54 Circle -1 true false 96 21 42 Circle -1 true false 105 40 32 Circle -1 true false 129 19 42 Rectangle -7500403 true true 14 228 78 270 fire department false 0 Polygon -7500403 true true 150 55 180 60 210 75 240 45 210 45 195 30 165 15 135 15 105 30 90 45 60 45 90 75 120 60 Polygon -7500403 true true 55 150 60 120 75 90 45 60 45 90 30 105 15 135 15 165 30 195 45 210 45 240 75 210 60 180 Polygon -7500403 true true 245 150 240 120 225 90 255 60 255 90 270 105 285 135 285 165 270 195 255 210 255 240 225 210 240 180 Polygon -7500403 true true 150 245 180 240 210 225 240 255 210 255 195 270 165 285 135 285 105 270 90 255 60 255 90 225 120 240 Circle -7500403 true true 60 60 180 Circle -16777216 false false 75 75 150 fish false 0 Polygon -1 true false 44 131 21 87 15 86 0 120 15 150 0 180 13 214 20 212 45 166 Polygon -1 true false 135 195 119 235 95 218 76 210 46 204 60 165 Polygon -1 true false 75 45 83 77 71 103 86 114 166 78 135 60 Polygon -7500403 true true 30 136 151 77 226 81 280 119 292 146 292 160 287 170 270 195 195 210 151 212 30 166 Circle -16777216 true false 215 106 30 flag false 0 Rectangle -7500403 true true 60 15 75 300 Polygon -7500403 true true 90 150 270 90 90 30 Line -7500403 true 75 135 90 135 Line -7500403 true 75 45 90 45 flower false 0 Polygon -10899396 true false 135 120 165 165 180 210 180 240 150 300 165 300 195 240 195 195 165 135 Circle -7500403 true true 85 132 38 Circle -7500403 true true 130 147 38 Circle -7500403 true true 192 85 38 Circle -7500403 true true 85 40 38 Circle -7500403 true true 177 40 38 Circle -7500403 true true 177 132 38 Circle -7500403 true true 70 85 38 Circle -7500403 true true 130 25 38 Circle -7500403 true true 96 51 108 Circle -16777216 true false 113 68 74 Polygon -10899396 true false 189 233 219 188 249 173 279 188 234 218 Polygon -10899396 true false 180 255 150 210 105 210 75 240 135 240 house false 0 Rectangle -7500403 true true 45 120 255 285 Rectangle -16777216 true false 120 210 180 285 Polygon -7500403 true true 15 120 150 15 285 120 Line -16777216 false 30 120 270 120 house colonial false 0 Rectangle -7500403 true true 270 75 285 255 Rectangle -7500403 true true 45 135 270 255 Rectangle -16777216 true false 124 195 187 256 Rectangle -16777216 true false 60 195 105 240 Rectangle -16777216 true false 60 150 105 180 Rectangle -16777216 true false 210 150 255 180 Line -16777216 false 270 135 270 255 Polygon -7500403 true true 30 135 285 135 240 90 75 90 Line -16777216 false 30 135 285 135 Line -16777216 false 255 105 285 135 Line -7500403 true 154 195 154 255 Rectangle -16777216 true false 210 195 255 240 Rectangle -16777216 true false 135 150 180 180 house efficiency false 0 Rectangle -7500403 true true 180 90 195 195 Rectangle -7500403 true true 90 165 210 255 Rectangle -16777216 true false 165 195 195 255 Rectangle -16777216 true false 105 202 135 240 Polygon -7500403 true true 225 165 75 165 150 90 Line -16777216 false 75 165 225 165 leaf false 0 Polygon -7500403 true true 150 210 135 195 120 210 60 210 30 195 60 180 60 165 15 135 30 120 15 105 40 104 45 90 60 90 90 105 105 120 120 120 105 60 120 60 135 30 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285 105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195 Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195 line true 0 Line -7500403 true 150 0 150 300 line half true 0 Line -7500403 true 150 0 150 150 pentagon false 0 Polygon -7500403 true true 150 15 15 120 60 285 240 285 285 120 person false 0 Circle -7500403 true true 110 5 80 Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 180 195 195 90 Rectangle -7500403 true true 127 79 172 94 Polygon -7500403 true true 195 90 240 150 225 180 165 105 Polygon -7500403 true true 105 90 60 150 75 180 135 105 person business false 0 Rectangle -1 true false 120 90 180 180 Polygon -13345367 true false 135 90 150 105 135 180 150 195 165 180 150 105 165 90 Polygon -7500403 true true 120 90 105 90 60 195 90 210 116 154 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 180 195 183 153 210 210 240 195 195 90 180 90 150 165 Circle -7500403 true true 110 5 80 Rectangle -7500403 true true 127 76 172 91 Line -16777216 false 172 90 161 94 Line -16777216 false 128 90 139 94 Polygon -13345367 true false 195 225 195 300 270 270 270 195 Rectangle -13791810 true false 180 225 195 300 Polygon -14835848 true false 180 226 195 226 270 196 255 196 Polygon -13345367 true false 209 202 209 216 244 202 243 188 Line -16777216 false 180 90 150 165 Line -16777216 false 120 90 150 165 person construction false 0 Rectangle -7500403 true true 123 76 176 95 Polygon -1 true false 105 90 60 195 90 210 115 162 184 163 210 210 240 195 195 90 Polygon -13345367 true false 180 195 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 Circle -7500403 true true 110 5 80 Line -16777216 false 148 143 150 196 Rectangle -16777216 true false 116 186 182 198 Circle -1 true false 152 143 9 Circle -1 true false 152 166 9 Rectangle -16777216 true false 179 164 183 186 Polygon -955883 true false 180 90 195 90 195 165 195 195 150 195 150 120 180 90 Polygon -955883 true false 120 90 105 90 105 165 105 195 150 195 150 120 120 90 Rectangle -16777216 true false 135 114 150 120 Rectangle -16777216 true false 135 144 150 150 Rectangle -16777216 true false 135 174 150 180 Polygon -955883 true false 105 42 111 16 128 2 149 0 178 6 190 18 192 28 220 29 216 34 201 39 167 35 Polygon -6459832 true false 54 253 54 238 219 73 227 78 Polygon -16777216 true false 15 285 15 255 30 225 45 225 75 255 75 270 45 285 person service false 0 Polygon -7500403 true true 180 195 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 Polygon -1 true false 120 90 105 90 60 195 90 210 120 150 120 195 180 195 180 150 210 210 240 195 195 90 180 90 165 105 150 165 135 105 120 90 Polygon -1 true false 123 90 149 141 177 90 Rectangle -7500403 true true 123 76 176 92 Circle -7500403 true true 110 5 80 Line -13345367 false 121 90 194 90 Line -16777216 false 148 143 150 196 Rectangle -16777216 true false 116 186 182 198 Circle -1 true false 152 143 9 Circle -1 true false 152 166 9 Rectangle -16777216 true false 179 164 183 186 Polygon -2674135 true false 180 90 195 90 183 160 180 195 150 195 150 135 180 90 Polygon -2674135 true false 120 90 105 90 114 161 120 195 150 195 150 135 120 90 Polygon -2674135 true false 155 91 128 77 128 101 Rectangle -16777216 true false 118 129 141 140 Polygon -2674135 true false 145 91 172 77 172 101 plant false 0 Rectangle -7500403 true true 135 90 165 300 Polygon -7500403 true true 135 255 90 210 45 195 75 255 135 285 Polygon -7500403 true true 165 255 210 210 255 195 225 255 165 285 Polygon -7500403 true true 135 180 90 135 45 120 75 180 135 210 Polygon -7500403 true true 165 180 165 210 225 180 255 120 210 135 Polygon -7500403 true true 135 105 90 60 45 45 75 105 135 135 Polygon -7500403 true true 165 105 165 135 225 105 255 45 210 60 Polygon -7500403 true true 135 90 120 45 150 15 180 45 165 90 police false 0 Circle -7500403 false true 45 45 210 Polygon -7500403 true true 96 225 150 60 206 224 63 120 236 120 Polygon -7500403 true true 120 120 195 120 180 180 180 185 113 183 Polygon -7500403 false true 30 15 0 45 15 60 30 90 30 105 15 165 3 209 3 225 15 255 60 270 75 270 99 256 105 270 120 285 150 300 180 285 195 270 203 256 240 270 255 270 285 255 294 225 294 210 285 165 270 105 270 90 285 60 300 45 270 15 225 30 210 30 150 15 90 30 75 30 square false 0 Rectangle -7500403 true true 30 30 270 270 square 2 false 0 Rectangle -7500403 true true 30 30 270 270 Rectangle -16777216 true false 60 60 240 240 star false 0 Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 282 94 175 3 108 116 108 target false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 Circle -7500403 true true 60 60 180 Circle -16777216 true false 90 90 120 Circle -7500403 true true 120 120 60 tree false 0 Circle -7500403 true true 118 3 94 Rectangle -6459832 true false 120 195 180 300 Circle -7500403 true true 65 21 108 Circle -7500403 true true 116 41 127 Circle -7500403 true true 45 90 120 Circle -7500403 true true 104 74 152 triangle false 0 Polygon -7500403 true true 150 30 15 255 285 255 triangle 2 false 0 Polygon -7500403 true true 150 30 15 255 285 255 Polygon -16777216 true false 151 99 225 223 75 224 truck false 0 Rectangle -7500403 true true 4 45 195 187 Polygon -7500403 true true 296 193 296 150 259 134 244 104 208 104 207 194 Rectangle -1 true false 195 60 195 105 Polygon -16777216 true false 238 112 252 141 219 141 218 112 Circle -16777216 true false 234 174 42 Rectangle -7500403 true true 181 185 214 194 Circle -16777216 true false 144 174 42 Circle -16777216 true false 24 174 42 Circle -7500403 false true 24 174 42 Circle -7500403 false true 144 174 42 Circle -7500403 false true 234 174 42 turtle true 0 Polygon -10899396 true false 215 204 240 233 246 254 228 266 215 252 193 210 Polygon -10899396 true false 195 90 225 75 245 75 260 89 269 108 261 124 240 105 225 105 210 105 Polygon -10899396 true false 105 90 75 75 55 75 40 89 31 108 39 124 60 105 75 105 90 105 Polygon -10899396 true false 132 85 134 64 107 51 108 17 150 2 192 18 192 52 169 65 172 87 Polygon -10899396 true false 85 204 60 233 54 254 72 266 85 252 107 210 Polygon -7500403 true true 119 75 179 75 209 101 224 135 220 225 175 261 128 261 81 224 74 135 88 99 wheel false 0 Circle -7500403 true true 3 3 294 Circle -16777216 true false 30 30 240 Line -7500403 true 150 285 150 15 Line -7500403 true 15 150 285 150 Circle -7500403 true true 120 120 60 Line -7500403 true 216 40 79 269 Line -7500403 true 40 84 269 221 Line -7500403 true 40 216 269 79 Line -7500403 true 84 40 221 269 x false 0 Polygon -7500403 true true 270 75 225 30 30 225 75 270 Polygon -7500403 true true 30 75 75 30 270 225 225 270 @#$#@#$#@ NetLogo 3.0 @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@