Disease Solo

  • Upload
    azz

  • View
    220

  • Download
    0

Embed Size (px)

DESCRIPTION

nlogo

Citation preview

  • 7/18/2019 Disease Solo

    1/23

    ;;;;;;;;;;;;;;;;;;;; Declarations ;;;;;;;;;;;;;;;;;;;;

    globals[ ;; number of turtles that are sick num-sick ;; when multiple runs are recorded in the plot, this ;; tracks what run number we're on run-number ;; counter used to keep the model running for a little ;; while after the last turtle gets infected delay]

    breed [ androids android ]breed [ users user ]

    ;; androids and users are both breeds of turtle, so both androids;; and users have these variablesturtles-own[ infected? ;; whether turtle is sick (true/false)

    ]

    ;;;;;;;;;;;;;;;;;;;;;;; Setup Functions ;;;;;;;;;;;;;;;;;;;;;;;

    ;; clears the plot tooto setup-clear clear-all set run-number 1 setup-worldend

    ;; note that the plot is not cleared so that data;; can be collected across runsto setup-keep clear-turtles clear-patches set run-number run-number + 1 setup-worldend

    to setup-world set-default-shape androids "android" set-default-shape users "person" set num-sick 0

    set delay 0 create-some-androids create-user reset-ticksend

    to infect ask one-of androids [ get-sick ]end

  • 7/18/2019 Disease Solo

    2/23

    to create-some-androids create-androids num-androids [ setxy random-pxcor random-pycor ;; put androids on patch centers set color gray set heading 90 * random 4 set infected? false ]end

    ;;;;;;;;;;;;;;;;;;;;;;;;; Runtime Functions ;;;;;;;;;;;;;;;;;;;;;;;;;

    to go ;; in order to extend the plot for a little while ;; after all the turtles are infected... if num-sick = count turtles [ set delay delay + 1 ] if delay > 50 [ stop ] ;; now for the main stuff; androids-wander ask turtles with [ infected? ]

    [ spread-disease ] set num-sick count turtles with [ infected? ] tickend

    ;; controls the motion of the androidsto androids-wander ask androids [ ifelse avoid? and not infected? [ avoid ] [ ifelse chase? and infected? [ chase ]

    [ rt (random 4) * 90 ] ] ] ask androids [ fd 1 ]end

    to avoid ;; android procedure let candidates patches in-radius 1 with [ not any? turtles-here with [ infected? ] ] ifelse any? candidates [ face one-of candidates ] [ rt (random 4) * 90 ]

    end

    to chase ;; android procedure let candidates turtles in-radius 1 with [ not infected? ] ifelse any? candidates [ face one-of candidates ] [ rt (random 4) * 90 ]end

    to spread-disease ;; turtle procedure

  • 7/18/2019 Disease Solo

    3/23

    ask other turtles-here [ maybe-get-sick ]end

    to maybe-get-sick ;; turtle procedure ;; roll the dice and maybe get sick if (not infected?) and (random 100 < infection-chance) [ get-sick ]end

    ;; set the appropriate variables to make this turtle sickto get-sick ;; turtle procedure if not infected? [ set infected? true set shape word shape " sick" ]end

    ;;;;;;;;;;;;;;;;;;;;;;; User Procedures ;;;;;;;;;;;;;;;;;;;;;;;

    to create-user create-users 1 [ set color sky

    set size 1.5 ;; easier to see than default of 1 set heading (random 4) * 90 set infected? false ]end

    to move [ new-heading ] ask users [ set heading new-heading fd step-size ]end

    ; Copyright 2005 Uri Wilensky.; See Info tab for full copyright and license.@#$#@#$#@GRAPHICS-WINDOW24510570416101215.0

    1101110001-10

  • 7/18/2019 Disease Solo

    4/23

    10-1212111ticks10.0

    BUTTON244612679setup/clearsetup-clearNIL1TOBSERVERNILNILNILNIL

    1

    BUTTON24114126147NILgoT1TOBSERVER

    NILNILNILNIL1

    SLIDER21151200184infection-chanceinfection-chance

    010010011%HORIZONTAL

    PLOT10

  • 7/18/2019 Disease Solo

    5/23

    239240416Number Sicktimesick0.010.00.06.0truefalse"create-temporary-plot-pen word \"run \" run-number\nset-plot-pen-color item (run-number mod 5)\n [blue red green orange violet]" "plot num-sick"PENS"default" 1.0 0 -16777216 true "" ""

    SLIDER211020043num-androids

    num-androids13006011NILHORIZONTAL

    MONITOR80191170

    236Number Sicknum-sick0111

    BUTTON6146168394up

    move 0NIL1TOBSERVERNILINILNIL1

  • 7/18/2019 Disease Solo

    6/23

    BUTTON65494717127rightmove 90NIL1TOBSERVERNILLNILNIL1

    BUTTON58494646127left

    move 270NIL1TOBSERVERNILJNILNIL1

    BUTTON615

    126684159downmove 180NIL1TOBSERVERNILKNILNIL

    1

    SWITCH595337698370avoid?avoid?1

  • 7/18/2019 Disease Solo

    7/23

    1-1000

    SWITCH595373698406chase?chase?11-1000

    TEXTBOX5833473352person:110.00

    TEXTBOX591313741331androids:110.00

    BUTTON2480

    126113setup/keepsetup-keepNIL1TOBSERVERNILNILNILNIL1

    TEXTBOX13892235110keeps old plots110.00

  • 7/18/2019 Disease Solo

    8/23

    TEXTBOX1385723575clears old plots\n110.00

    SLIDER577164726197step-sizestep-size15111NIL

    HORIZONTAL

    BUTTON127114229147NILinfectNIL1TOBSERVER

    NILNILNILNIL1

    @#$#@#$#@## WHAT IS IT?

    Disease Solo is a one-player version of the HubNet activity Disease. It simulates the spread of a disease through a population. One agent in the population isa person controlled by the user; the others are "androids" controlled by the computer.

    ## HOW IT WORKS

    The user controls the blue agent via the buttons and slider on the right side ofthe view. The infection is started by pressing the "infect" button.

    Sick agents are indicated by a red circle.

    Androids can move using a few different simple strategies. By default they simply move randomly, however, using the AVOID? and CHASE? switches you can indicate

  • 7/18/2019 Disease Solo

    9/23

    that uninfected androids should run from infected ones or infected androids should chase uninfected ones.

    The person may also catch the infection.

    Healthy "agents" on the same patch as sick agents have an INFECTION-CHANCE chance of becoming ill.

    ## HOW TO USE IT

    ### Buttons

    SETUP/CLEAR - sets up the world and clears plots.SETUP/KEEP - sets up the world without clearing the plot; this lets you compareresults from different runs.GO - runs the simulation.INFECT - infects one of the androids

    ### Sliders

    NUM-ANDROIDS - determines how many androids are created at setupINFECTION-CHANCE - a healthy agent's chance at every time step to become sick ifit is on the same patch as an infected agent

    ### Monitors

    NUMBER SICK - the number of sick agents

    ### Plots

    NUMBER SICK - the number of sick agents versus time

    ### Switches

    AVOID? - when this switch is on each uninfected android checks all four directions to see if it can move to a patch that is safe from infected agents.CHASE? - when this switch is on each infected androids checks all four direction

    s to see if it can infect another agent.

    ### User controls

    UP, DOWN, LEFT, and RIGHT - move the person around the world, STEP-SIZE determines how far the person moves each time one of the control buttons is pressed.

    ## THINGS TO NOTICE

    Think about how the plot will change if you alter a parameter. Altering the infection chance will have different effects on the plot.

    ## THINGS TO TRY

    Do several runs of the model and record a data set for each one by using the setup/keep button. Compare the different resulting plots.

    What happens to the plot as you do runs with more and more androids?

    ## EXTENDING THE MODEL

    Currently, the agents remain sick once they're infected. How would the shape ofthe plot change if agents eventually healed? If, after healing, they were immu

  • 7/18/2019 Disease Solo

    10/23

    ne to the disease, or could still spread the disease, how would the dynamics bealtered?

    The user has a distinct advantage in this version of the model (assuming that the goal is either not to become infected, or to infect others), as the user can see the entire world and the androids can only see one patch ahead of them. Tryto even out the playing field by giving the androids a larger field of vision.

    Determining the first agent who is infected may impact the way disease spreads through the population. Try changing the target of the first infection so it canbe determined by the user.

    ## NETLOGO FEATURES

    You can use the keyboard to control the person. To activate the keyboard shortcuts for the movement button, either hide the command center or click in the white background.

    The plot uses temporary plot pens, rather than a fixed set of permanent plot pens, so you can use the setup/keep button to overlay as many runs as you want.

    ## RELATED MODELS

    * Disease (HubNet version)

    * Virus* AIDS

    ## CREDITS AND REFERENCES

    This model is a one player version of the HubNet activity Disease. In the HubNet version, multiple users can participate at once.

    ## HOW TO CITE

    If you mention this model in a publication, we ask that you include these citations for the model itself and for the NetLogo software:

    * Wilensky, U. (2005). NetLogo Disease Solo model. http://ccl.northwestern.edu/netlogo/models/DiseaseSolo. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.* Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center forConnected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.

    ## COPYRIGHT AND LICENSE

    Copyright 2005 Uri Wilensky.

    ![CC BY-NC-SA 3.0](http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png)

    This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

    Commercial licenses are also available. To inquire about commercial licenses, please contact Uri Wilensky at [email protected].

    @#$#@#$#@

  • 7/18/2019 Disease Solo

    11/23

    defaulttrue0Polygon -7500403 true true 150 5 40 250 150 205 260 250

    airplanetrue0Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180105 180 60 165 15

    airplane sickfalse0Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180105 180 60 165 15Circle -2674135 true false 156 156 108

    androidfalse0Polygon -7500403 true true 210 90 240 195 210 210 165 90

    Circle -7500403 true true 110 3 80Polygon -7500403 true true 105 88 120 193 105 240 105 298 135 300 150 210 165 300 195 298 195 240 180 193 195 88Rectangle -7500403 true true 127 81 172 96Rectangle -16777216 true false 135 33 165 60Polygon -7500403 true true 90 90 60 195 90 210 135 90

    android sickfalse0Polygon -7500403 true true 210 90 240 195 210 210 165 90Circle -7500403 true true 110 3 80Polygon -7500403 true true 105 88 120 193 105 240 105 298 135 300 150 210 165 30

    0 195 298 195 240 180 193 195 88Rectangle -7500403 true true 127 81 172 96Rectangle -16777216 true false 135 33 165 60Polygon -7500403 true true 90 90 60 195 90 210 135 90Circle -2674135 true false 150 120 120

    arrowtrue0Polygon -7500403 true true 150 0 0 150 105 150 105 293 195 293 195 150 300 150

    boxfalse

    0Polygon -7500403 true true 150 285 285 225 285 75 150 135Polygon -7500403 true true 150 135 15 75 150 15 285 75Polygon -7500403 true true 15 75 15 225 150 285 150 135Line -16777216 false 150 285 150 135Line -16777216 false 150 135 15 75Line -16777216 false 150 135 285 75

    box sickfalse

  • 7/18/2019 Disease Solo

    12/23

    0Polygon -7500403 true true 150 285 270 225 270 90 150 150Polygon -7500403 true true 150 150 30 90 150 30 270 90Polygon -7500403 true true 30 90 30 225 150 285 150 150Line -16777216 false 150 285 150 150Line -16777216 false 150 150 30 90Line -16777216 false 150 150 270 90Circle -2674135 true false 170 178 108

    bugtrue0Circle -7500403 true true 96 182 108Circle -7500403 true true 110 127 80Circle -7500403 true true 110 75 80Line -7500403 true 150 100 80 30Line -7500403 true 150 100 220 30

    butterflytrue0Polygon -7500403 true true 150 165 209 199 225 225 225 255 195 270 165 255 150 240Polygon -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 163Polygon -7500403 true true 162 150 200 105 245 90 275 90 290 105 290 135 275 180260 195 215 195 162 165Polygon -16777216 true false 150 255 135 225 120 150 135 120 150 105 165 120 180150 165 225Circle -16777216 true false 135 90 30Line -16777216 false 150 105 195 60Line -16777216 false 150 105 105 60

    butterfly sickfalse0

    Rectangle -7500403 true true 92 135 207 224Circle -7500403 true true 158 53 134Circle -7500403 true true 165 180 90Circle -7500403 true true 45 180 90Circle -7500403 true true 8 53 134Line -16777216 false 43 189 253 189Rectangle -7500403 true true 135 60 165 285Circle -7500403 true true 165 15 30Circle -7500403 true true 105 15 30Line -7500403 true 120 30 135 60Line -7500403 true 165 60 180 30Line -16777216 false 135 60 135 285Line -16777216 false 165 285 165 60

    Circle -2674135 true false 156 171 108

    cactusfalse0Rectangle -7500403 true true 135 30 175 177Rectangle -7500403 true true 67 105 100 214Rectangle -7500403 true true 217 89 251 167Rectangle -7500403 true true 157 151 220 185Rectangle -7500403 true true 94 189 148 233

  • 7/18/2019 Disease Solo

    13/23

    Rectangle -7500403 true true 135 162 184 297Circle -7500403 true true 219 76 28Circle -7500403 true true 138 7 34Circle -7500403 true true 67 93 30Circle -7500403 true true 201 145 40Circle -7500403 true true 69 193 40

    cactus sickfalse0Rectangle -7500403 true true 135 30 175 177Rectangle -7500403 true true 67 105 100 214Rectangle -7500403 true true 217 89 251 167Rectangle -7500403 true true 157 151 220 185Rectangle -7500403 true true 94 189 148 233Rectangle -7500403 true true 135 162 184 297Circle -7500403 true true 219 76 28Circle -7500403 true true 138 7 34Circle -7500403 true true 67 93 30Circle -7500403 true true 201 145 40Circle -7500403 true true 69 193 40Circle -2674135 true false 156 171 108

    car

    false0Polygon -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 180Circle -16777216 true false 180 180 90Circle -16777216 true false 30 180 90Polygon -16777216 true false 162 80 132 78 134 135 209 135 194 105 189 96 180 89Circle -7500403 true true 47 195 58Circle -7500403 true true 195 195 58

    car sickfalse0

    Polygon -7500403 true true 285 208 285 178 279 164 261 144 240 135 226 132 213 106 199 84 171 68 149 68 129 68 75 75 15 150 15 165 15 225 285 225 283 174 283 176Circle -16777216 true false 180 180 90Circle -16777216 true false 30 180 90Polygon -16777216 true false 195 90 135 90 135 135 210 135 195 105 165 90Circle -7500403 true true 47 195 58Circle -7500403 true true 195 195 58Circle -2674135 true false 171 156 108

    catfalse0

    Line -7500403 true 285 240 210 240Line -7500403 true 195 300 165 255Line -7500403 true 15 240 90 240Line -7500403 true 285 285 195 240Line -7500403 true 105 300 135 255Line -16777216 false 150 270 150 285Line -16777216 false 15 75 15 120Polygon -7500403 true true 300 15 285 30 255 30 225 75 195 60 255 15Polygon -7500403 true true 285 135 210 135 180 150 180 45 285 90Polygon -7500403 true true 120 45 120 210 180 210 180 45

  • 7/18/2019 Disease Solo

    14/23

    Polygon -7500403 true true 180 195 165 300 240 285 255 225 285 195Polygon -7500403 true true 180 225 195 285 165 300 150 300 150 255 165 225Polygon -7500403 true true 195 195 195 165 225 150 255 135 285 135 285 195Polygon -7500403 true true 15 135 90 135 120 150 120 45 15 90Polygon -7500403 true true 120 195 135 300 60 285 45 225 15 195Polygon -7500403 true true 120 225 105 285 135 300 150 300 150 255 135 225Polygon -7500403 true true 105 195 105 165 75 150 45 135 15 135 15 195Polygon -7500403 true true 285 120 270 90 285 15 300 15Line -7500403 true 15 285 105 240Polygon -7500403 true true 15 120 30 90 15 15 0 15Polygon -7500403 true true 0 15 15 30 45 30 75 75 105 60 45 15Line -16777216 false 164 262 209 262Line -16777216 false 223 231 208 261Line -16777216 false 136 262 91 262Line -16777216 false 77 231 92 261

    cat sickfalse0Line -7500403 true 285 240 210 240Line -7500403 true 195 300 165 255Line -7500403 true 15 240 90 240Line -7500403 true 285 285 195 240Line -7500403 true 105 300 135 255

    Line -16777216 false 150 270 150 285Line -16777216 false 15 75 15 120Polygon -7500403 true true 300 15 285 30 255 30 225 75 195 60 255 15Polygon -7500403 true true 285 135 210 135 180 150 180 45 285 90Polygon -7500403 true true 120 45 120 210 180 210 180 45Polygon -7500403 true true 180 195 165 300 240 285 255 225 285 195Polygon -7500403 true true 180 225 195 285 165 300 150 300 150 255 165 225Polygon -7500403 true true 195 195 195 165 225 150 255 135 285 135 285 195Polygon -7500403 true true 15 135 90 135 120 150 120 45 15 90Polygon -7500403 true true 120 195 135 300 60 285 45 225 15 195Polygon -7500403 true true 120 225 105 285 135 300 150 300 150 255 135 225Polygon -7500403 true true 105 195 105 165 75 150 45 135 15 135 15 195Polygon -7500403 true true 285 120 270 90 285 15 300 15

    Line -7500403 true 15 285 105 240Polygon -7500403 true true 15 120 30 90 15 15 0 15Polygon -7500403 true true 0 15 15 30 45 30 75 75 105 60 45 15Line -16777216 false 164 262 209 262Line -16777216 false 223 231 208 261Line -16777216 false 136 262 91 262Line -16777216 false 77 231 92 261Circle -2674135 true false 186 186 108

    circlefalse0Circle -7500403 true true 0 0 300

    circle 2false0Circle -7500403 true true 0 0 300Circle -16777216 true false 30 30 240

    cowfalse0

  • 7/18/2019 Disease Solo

    15/23

    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 25264 272 81 293 103 285 121 255 121 242 118 224 167Polygon -7500403 true true 73 210 86 251 62 249 48 208Polygon -7500403 true true 25 114 16 195 9 204 23 213 25 200 39 123

    cow skullfalse0Polygon -7500403 true true 150 90 75 105 60 150 75 210 105 285 195 285 225 210 240 150 225 105Polygon -16777216 true false 150 150 90 195 90 150Polygon -16777216 true false 150 150 210 195 210 150Polygon -16777216 true false 105 285 135 270 150 285 165 270 195 285Polygon -7500403 true true 240 150 263 143 278 126 287 102 287 79 280 53 273 38261 25 246 15 227 8 241 26 253 46 258 68 257 96 246 116 229 126Polygon -7500403 true true 60 150 37 143 22 126 13 102 13 79 20 53 27 38 39 25 54 15 73 8 59 26 47 46 42 68 43 96 54 116 71 126

    cow skull sickfalse0Polygon -7500403 true true 150 90 75 105 60 150 75 210 105 285 195 285 225 210 240 150 225 105

    Polygon -16777216 true false 150 150 90 195 90 150Polygon -16777216 true false 150 150 210 195 210 150Polygon -16777216 true false 105 285 135 270 150 285 165 270 195 285Polygon -7500403 true true 240 150 263 143 278 126 287 102 287 79 280 53 273 38261 25 246 15 227 8 241 26 253 46 258 68 257 96 246 116 229 126Polygon -7500403 true true 60 150 37 143 22 126 13 102 13 79 20 53 27 38 39 25 54 15 73 8 59 26 47 46 42 68 43 96 54 116 71 126Circle -2674135 true false 156 186 108

    cylinderfalse0Circle -7500403 true true 0 0 300

    dogfalse0Polygon -7500403 true true 300 165 300 195 270 210 183 204 180 240 165 270 165 300 120 300 0 240 45 165 75 90 75 45 105 15 135 45 165 45 180 15 225 15 255 30 225 30 210 60 225 90 225 105Polygon -16777216 true false 0 240 120 300 165 300 165 285 120 285 10 221Line -16777216 false 210 60 180 45Line -16777216 false 90 45 90 90Line -16777216 false 90 90 105 105Line -16777216 false 105 105 135 60Line -16777216 false 90 45 135 60

    Line -16777216 false 135 60 135 45Line -16777216 false 181 203 151 203Line -16777216 false 150 201 105 171Circle -16777216 true false 171 88 34Circle -16777216 false false 261 162 30

    dog sickfalse0Polygon -7500403 true true 300 165 300 195 270 210 183 204 180 240 165 270 165 3

  • 7/18/2019 Disease Solo

    16/23

    00 120 300 0 240 45 165 75 90 75 45 105 15 135 45 165 45 180 15 225 15 255 30 225 30 210 60 225 90 225 105Polygon -16777216 true false 0 240 120 300 165 300 165 285 120 285 10 221Line -16777216 false 210 60 180 45Line -16777216 false 90 45 90 90Line -16777216 false 90 90 105 105Line -16777216 false 105 105 135 60Line -16777216 false 90 45 135 60Line -16777216 false 135 60 135 45Line -16777216 false 181 203 151 203Line -16777216 false 150 201 105 171Circle -16777216 true false 171 88 34Circle -16777216 false false 261 162 30Circle -2674135 true false 126 186 108

    dotfalse0Circle -7500403 true true 90 90 120

    face happyfalse0Circle -7500403 true true 8 8 285

    Circle -16777216 true false 60 75 60Circle -16777216 true false 180 75 60Polygon -16777216 true false 150 255 90 239 62 213 47 191 67 179 90 203 109 218150 225 192 218 210 203 227 181 251 194 236 217 212 240

    face neutralfalse0Circle -7500403 true true 8 7 285Circle -16777216 true false 60 75 60Circle -16777216 true false 180 75 60Rectangle -16777216 true false 60 195 240 225

    face sadfalse0Circle -7500403 true true 8 8 285Circle -16777216 true false 60 75 60Circle -16777216 true false 180 75 60Polygon -16777216 true false 150 168 90 184 62 210 47 232 67 244 90 220 109 205150 198 192 205 210 220 227 242 251 229 236 206 212 183

    fishfalse0Polygon -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 165Polygon -1 true false 75 45 83 77 71 103 86 114 166 78 135 60Polygon -7500403 true true 30 136 151 77 226 81 280 119 292 146 292 160 287 170270 195 195 210 151 212 30 166Circle -16777216 true false 215 106 30

    flagfalse0Rectangle -7500403 true true 60 15 75 300

  • 7/18/2019 Disease Solo

    17/23

    Polygon -7500403 true true 90 150 270 90 90 30Line -7500403 true 75 135 90 135Line -7500403 true 75 45 90 45

    flowerfalse0Polygon -10899396 true false 135 120 165 165 180 210 180 240 150 300 165 300 195240 195 195 165 135Circle -7500403 true true 85 132 38Circle -7500403 true true 130 147 38Circle -7500403 true true 192 85 38Circle -7500403 true true 85 40 38Circle -7500403 true true 177 40 38Circle -7500403 true true 177 132 38Circle -7500403 true true 70 85 38Circle -7500403 true true 130 25 38Circle -7500403 true true 96 51 108Circle -16777216 true false 113 68 74Polygon -10899396 true false 189 233 219 188 249 173 279 188 234 218Polygon -10899396 true false 180 255 150 210 105 210 75 240 135 240

    ghostfalse

    0Polygon -7500403 true true 30 165 13 164 -2 149 0 135 -2 119 0 105 15 75 30 75 58 104 43 119 43 134 58 134 73 134 88 104 73 44 78 14 103 -1 193 -1 223 29 208 89208 119 238 134 253 119 240 105 238 89 240 75 255 60 270 60 283 74 300 90 298 104 298 119 300 135 285 135 285 150 268 164 238 179 208 164 208 194 238 209 253 224 268 239 268 269 238 299 178 299 148 284 103 269 58 284 43 299 58 269 103 254148 254 193 254 163 239 118 209 88 179 73 179 58 164Line -16777216 false 189 253 215 253Circle -16777216 true false 102 30 30Polygon -16777216 true false 165 105 135 105 120 120 105 105 135 75 165 75 195 105 180 120Circle -16777216 true false 160 30 30

    ghost sickfalse0Polygon -7500403 true true 30 165 13 164 -2 149 0 135 -2 119 0 105 15 75 30 75 58 104 43 119 43 134 58 134 73 134 88 104 73 44 78 14 103 -1 193 -1 223 29 208 89208 119 238 134 253 119 240 105 238 89 240 75 255 60 270 60 283 74 300 90 298 104 298 119 300 135 285 135 285 150 268 164 238 179 208 164 208 194 238 209 253 224 268 239 268 269 238 299 178 299 148 284 103 269 58 284 43 299 58 269 103 254148 254 193 254 163 239 118 209 88 179 73 179 58 164Line -16777216 false 189 253 215 253Circle -16777216 true false 102 30 30Polygon -16777216 true false 165 105 135 105 120 120 105 105 135 75 165 75 195 105 180 120

    Circle -16777216 true false 160 30 30Circle -2674135 true false 156 171 108

    heartfalse0Circle -7500403 true true 152 19 134Polygon -7500403 true true 150 105 240 105 270 135 150 270Polygon -7500403 true true 150 105 60 105 30 135 150 270Line -7500403 true 150 270 150 135

  • 7/18/2019 Disease Solo

    18/23

    Rectangle -7500403 true true 135 90 180 135Circle -7500403 true true 14 19 134

    heart sickfalse0Circle -7500403 true true 152 19 134Polygon -7500403 true true 150 105 240 105 270 135 150 270Polygon -7500403 true true 150 105 60 105 30 135 150 270Line -7500403 true 150 270 150 135Rectangle -7500403 true true 135 90 180 135Circle -7500403 true true 14 19 134Circle -2674135 true false 171 156 108

    housefalse0Rectangle -7500403 true true 45 120 255 285Rectangle -16777216 true false 120 210 180 285Polygon -7500403 true true 15 120 150 15 285 120Line -16777216 false 30 120 270 120

    keyfalse

    0Rectangle -7500403 true true 90 120 300 150Rectangle -7500403 true true 270 135 300 195Rectangle -7500403 true true 195 135 225 195Circle -7500403 true true 0 60 150Circle -16777216 true false 30 90 90

    key sickfalse0Rectangle -7500403 true true 90 120 300 150Rectangle -7500403 true true 270 135 300 195Rectangle -7500403 true true 195 135 225 195

    Circle -7500403 true true 0 60 150Circle -16777216 true false 30 90 90Circle -2674135 true false 156 171 108

    leaffalse0Polygon -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 13530 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195

    leaf sickfalse0Polygon -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 13530 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195

  • 7/18/2019 Disease Solo

    19/23

    Circle -2674135 true false 141 171 108

    linetrue0Line -7500403 true 150 0 150 300

    line halftrue0Line -7500403 true 150 0 150 150

    monsterfalse0Polygon -7500403 true true 75 150 90 195 210 195 225 150 255 120 255 45 180 0 120 0 45 45 45 120Circle -16777216 true false 165 60 60Circle -16777216 true false 75 60 60Polygon -7500403 true true 225 150 285 195 285 285 255 300 255 210 180 165Polygon -7500403 true true 75 150 15 195 15 285 45 300 45 210 120 165Polygon -7500403 true true 210 210 225 285 195 285 165 165Polygon -7500403 true true 90 210 75 285 105 285 135 165Rectangle -7500403 true true 135 165 165 270

    monster sickfalse0Polygon -7500403 true true 75 150 90 195 210 195 225 150 255 120 255 45 180 0 120 0 45 45 45 120Circle -16777216 true false 165 60 60Circle -16777216 true false 75 60 60Polygon -7500403 true true 225 150 285 195 285 285 255 300 255 210 180 165Polygon -7500403 true true 75 150 15 195 15 285 45 300 45 210 120 165Polygon -7500403 true true 210 210 225 285 195 285 165 165Polygon -7500403 true true 90 210 75 285 105 285 135 165Rectangle -7500403 true true 135 165 165 270

    Circle -2674135 true false 141 141 108

    moonfalse0Polygon -7500403 true true 175 7 83 36 25 108 27 186 79 250 134 271 205 274 281239 207 233 152 216 113 185 104 132 110 77 132 51

    moon sickfalse0Polygon -7500403 true true 160 7 68 36 10 108 12 186 64 250 119 271 190 274 266239 192 233 137 216 98 185 89 132 95 77 117 51

    Circle -2674135 true false 171 171 108

    pentagonfalse0Polygon -7500403 true true 150 15 15 120 60 285 240 285 285 120

    personfalse0

  • 7/18/2019 Disease Solo

    20/23

    Circle -7500403 true true 110 5 80Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300195 300 210 285 180 195 195 90Rectangle -7500403 true true 127 79 172 94Polygon -7500403 true true 195 90 240 150 225 180 165 105Polygon -7500403 true true 105 90 60 150 75 180 135 105

    person sickfalse0Circle -7500403 true true 110 5 80Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300195 300 210 285 180 195 195 90Rectangle -7500403 true true 127 79 172 94Polygon -7500403 true true 195 90 240 150 225 180 165 105Polygon -7500403 true true 105 90 60 150 75 180 135 105Circle -2674135 true false 178 163 95

    plantfalse0Rectangle -7500403 true true 135 90 165 300Polygon -7500403 true true 135 255 90 210 45 195 75 255 135 285Polygon -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 210Polygon -7500403 true true 165 180 165 210 225 180 255 120 210 135Polygon -7500403 true true 135 105 90 60 45 45 75 105 135 135Polygon -7500403 true true 165 105 165 135 225 105 255 45 210 60Polygon -7500403 true true 135 90 120 45 150 15 180 45 165 90

    squarefalse0Rectangle -7500403 true true 30 30 270 270

    square 2false

    0Rectangle -7500403 true true 30 30 270 270Rectangle -16777216 true false 60 60 240 240

    starfalse0Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 28294 175 3 108 116 108

    star sickfalse0

    Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 28294 175 3 108 116 108Circle -2674135 true false 156 171 108

    targetfalse0Circle -7500403 true true 0 0 300Circle -16777216 true false 30 30 240Circle -7500403 true true 60 60 180

  • 7/18/2019 Disease Solo

    21/23

    Circle -16777216 true false 90 90 120Circle -7500403 true true 120 120 60

    target sicktrue0Circle -7500403 true true 0 0 300Circle -16777216 true false 30 30 240Circle -7500403 true true 60 60 180Circle -16777216 true false 90 90 120Circle -7500403 true true 120 120 60Circle -2674135 true false 163 163 95

    treefalse0Circle -7500403 true true 118 3 94Rectangle -6459832 true false 120 195 180 300Circle -7500403 true true 65 21 108Circle -7500403 true true 116 41 127Circle -7500403 true true 45 90 120Circle -7500403 true true 104 74 152

    triangle

    false0Polygon -7500403 true true 150 30 15 255 285 255

    triangle 2false0Polygon -7500403 true true 150 30 15 255 285 255Polygon -16777216 true false 151 99 225 223 75 224

    truckfalse0

    Rectangle -7500403 true true 4 45 195 187Polygon -7500403 true true 296 193 296 150 259 134 244 104 208 104 207 194Rectangle -1 true false 195 60 195 105Polygon -16777216 true false 238 112 252 141 219 141 218 112Circle -16777216 true false 234 174 42Rectangle -7500403 true true 181 185 214 194Circle -16777216 true false 144 174 42Circle -16777216 true false 24 174 42Circle -7500403 false true 24 174 42Circle -7500403 false true 144 174 42Circle -7500403 false true 234 174 42

    turtle

    true0Polygon -10899396 true false 215 204 240 233 246 254 228 266 215 252 193 210Polygon -10899396 true false 195 90 225 75 245 75 260 89 269 108 261 124 240 105225 105 210 105Polygon -10899396 true false 105 90 75 75 55 75 40 89 31 108 39 124 60 105 75 105 90 105Polygon -10899396 true false 132 85 134 64 107 51 108 17 150 2 192 18 192 52 16965 172 87Polygon -10899396 true false 85 204 60 233 54 254 72 266 85 252 107 210

  • 7/18/2019 Disease Solo

    22/23

    Polygon -7500403 true true 119 75 179 75 209 101 224 135 220 225 175 261 128 26181 224 74 135 88 99

    wheelfalse0Circle -7500403 true true 3 3 294Circle -16777216 true false 30 30 240Line -7500403 true 150 285 150 15Line -7500403 true 15 150 285 150Circle -7500403 true true 120 120 60Line -7500403 true 216 40 79 269Line -7500403 true 40 84 269 221Line -7500403 true 40 216 269 79Line -7500403 true 84 40 221 269

    wheel sickfalse0Circle -7500403 true true 3 3 294Circle -16777216 true false 30 30 240Line -7500403 true 150 285 150 15Line -7500403 true 15 150 285 150Circle -7500403 true true 120 120 60

    Line -7500403 true 216 40 79 269Line -7500403 true 40 84 269 221Line -7500403 true 40 216 269 79Line -7500403 true 84 40 221 269Circle -2674135 true false 156 156 108

    xfalse0Polygon -7500403 true true 270 75 225 30 30 225 75 270Polygon -7500403 true true 30 75 75 30 270 225 225 270

    @#$#@#$#@

    NetLogo 5.0.5@#$#@#$#@random-seed 3setup-clearinfectrepeat 100 [ go wait 0.1 ]@#$#@#$#@@#$#@#$#@@#$#@#$#@@#$#@#$#@default0.0-0.2 0 1.0 0.0

    0.0 1 1.0 0.00.2 0 1.0 0.0link directiontrue0Line -7500403 true 150 150 90 180Line -7500403 true 150 150 210 180

    @#$#@#$#@0

  • 7/18/2019 Disease Solo

    23/23

    @#$#@#$#@