bahria v.3
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
(a general understanding of what the model is trying to show or explain)
HOW IT WORKS
(what rules the agents use to create the overall behavior of the model)
HOW TO USE IT
(how to use the model, including a description of each of the items in the Interface tab)
THINGS TO NOTICE
(suggested things for the user to notice while running the model)
THINGS TO TRY
(suggested things for the user to try to do (move sliders, switches, etc.) with the model)
EXTENDING THE MODEL
(suggested things to add or change in the Code tab to make the model more complicated, detailed, accurate, etc.)
NETLOGO FEATURES
(interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)
RELATED MODELS
(models in the NetLogo Models Library and elsewhere which are of related interest)
CREDITS AND REFERENCES
(a reference to the model's URL on the web if it has one, as well as any other necessary credits, citations, and links)
Comments and Questions
to setup clear-all cro Male_students [ set shape "person" setxy 13 13 set color yellow ] cro Female_students [ set shape "person" setxy -13 -13 set color red ] ;Seating places for students in Cafe ask patches[ sprout 1 [ set color red set shape "circle" set size 4 setxy 13 13 stamp die ] ] ;Seating places for students in Cafe ask patches[ sprout 1 [ set color orange set shape "circle" set size 4 setxy -13 -13 stamp die ] ] ;Seating places for students in Cafe ask patches with [pxcor = -13 and pycor > -4 and pycor < 4][ sprout 1 [ set color brown set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pxcor = 13 and pycor > -4 and pycor < 4][ sprout 1 [ set color brown set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pxcor = 6 and pycor > -4 and pycor < 4][ sprout 1 [ set color brown set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pxcor = -6 and pycor > -4 and pycor < 4][ sprout 1 [ set color brown set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pycor = -8 and pxcor > -4 and pxcor < 4][ sprout 1 [ set color orange set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pycor = 8 and pxcor > -4 and pxcor < 4][ sprout 1 [ set color orange set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pycor = -15 and pxcor > -4 and pxcor < 4][ sprout 1 [ set color orange set shape "circle" set size 1 stamp die ] ] ;Seating places for students in Cafe ask patches with [pycor = 15 and pxcor > -4 and pxcor < 4][ sprout 1 [ set color orange set shape "circle" set size 1 stamp die ] ] Setup-Food Setup-Food2 Setup-Food3 Setup-Food4 end to go ask turtles with [color = blue][setxy 13 0] ask turtles with [color = blue ][setxy 13 3] ask turtles with [color = blue][setxy 13 2] ask turtles with [color = blue][setxy 13 1] ask turtles with [color = blue][setxy 13 0] ask turtles with [color = blue][setxy 13 -1] ask turtles with [color = blue][setxy 13 -2] ask turtles with [color = blue][setxy 13 -3] ask turtles with [color = pink][setxy -3 -8] ask turtles with [color = pink][setxy -2 -8] ask turtles with [color = pink][setxy -1 -8] ask turtles with [color = pink][setxy 0 -8] ask turtles with [color = pink][setxy 1 -8] ask turtles with [color = pink][setxy 2 -8] end to square end to Setup-Food ;tables for Stduents in Cafe ask patches with [pxcor = 12 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = 11 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = 10 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = 9 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = 8 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = 7 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] end to Setup-Food2 ;Tables for students in Cafe ask patches with [pxcor = -12 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = -11 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = -10 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = -9 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = -8 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] ask patches with [pxcor = -7 and pycor > -6 and pycor < 6 ] [ set pcolor yellow ] end to Setup-Food3 ;tables for Stduents in Cafe ask patches with [pycor = -14 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = -13 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = -12 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = -11 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = -10 and pxcor > -6 and pxcor < 6 ] [ set pcolor yellow ] ask patches with [pycor = -9 and pxcor > -6 and pxcor < 6 ] [ set pcolor yellow ] end to Setup-Food4 ;tables for Stduents in Cafe ask patches with [pycor = 14 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = 13 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = 12 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = 11 and pxcor > -6 and pxcor < 6] [ set pcolor yellow ] ask patches with [pycor = 10 and pxcor > -6 and pxcor < 6 ] [ set pcolor yellow ] ask patches with [pycor = 9 and pxcor > -6 and pxcor < 6 ] [ set pcolor yellow ] end
There is only one version of this model, created over 7 years ago by Muhammad Talha.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
bahria v.3.png | preview | Preview for ' bahria v.3' | over 7 years ago, by Muhammad Talha | Download |
This model does not have any ancestors.
This model does not have any descendants.