Bahria University Cafe1
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
globals [ seating-x seating-y ;; location of center of nest ] to setup clear-all cro Male_students [ set shape "person" setxy 15 15 set color green ] cro Female_students [ set shape "person" setxy -15 -15 set color pink ] ask patches with [pxcor = 13 and pycor > -4 and pycor < 4][ sprout 1 [ set color brown set shape "circle" set size 2 stamp die ] ] Setup-Food Setup-Food2 Setup-Food3 Setup-Food4 end to go ask turtles with [shape = "person"][fd 1] end to Setup-Food ;Seating places for students in Cafe ;tables for Stduents in Cafe ask patches with [pxcor = 12 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 11 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 10 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 9 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 8 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 7 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = 6 and pycor > -4 and pycor < 4 ] [ set pcolor blue ] ask patches with [pxcor = 6 and pycor > 4 and pycor < 4 ] [ set pcolor blue ] end to Setup-Food2 ;Seating places for students in Cafe ask patches with [pxcor = -13 and pycor > -4 and pycor < 4] [ set pcolor blue ] ask patches with [pxcor = -13 and pycor > -4 and pycor < 4] [ set pcolor blue ] ;Tables for students in Cafe ask patches with [pxcor = -12 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = -11 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = -10 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = -9 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = -8 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ask patches with [pxcor = -7 and pycor > -6 and pycor < 6 ] [ set pcolor green ] ;Seating places for students in Cafe ask patches with [pxcor = -6 and pycor > -4 and pycor < 4] [ set pcolor blue ] ask patches with [pxcor = -6 and pycor > -4 and pycor < 4] [ set pcolor blue ] end to Setup-Food3 ;Seating places for students in Cafe ask patches with [pycor = -8 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ask patches with [pycor = -8 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ;tables for Stduents in Cafe ask patches with [pycor = -14 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = -13 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = -12 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = -11 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = -10 and pxcor > -6 and pxcor < 6 ] [ set pcolor green ] ask patches with [pycor = -9 and pxcor > -6 and pxcor < 6 ] [ set pcolor green ] ;Seating places for students in Cafe ask patches with [pycor = -15 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ask patches with [pycor = -15 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] end to Setup-Food4 ;Seating places for students in Cafe ask patches with [pycor = 8 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ask patches with [pycor = 8 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ;tables for Stduents in Cafe ask patches with [pycor = 14 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = 13 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = 12 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = 11 and pxcor > -6 and pxcor < 6] [ set pcolor green ] ask patches with [pycor = 10 and pxcor > -6 and pxcor < 6 ] [ set pcolor green ] ask patches with [pycor = 9 and pxcor > -6 and pxcor < 6 ] [ set pcolor green ] ;Seating places for students in Cafe ask patches with [pycor = 15 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] ask patches with [pycor = 15 and pxcor > -4 and pxcor < 4] [ set pcolor blue ] end
There is only one version of this model, created over 7 years ago by Muhammad Orangzaib.
Attached files
No files
This model does not have any ancestors.
This model does not have any descendants.