![]() Set size 1.5 Set the size of the supermarket agent to 1. Set shape "square " Set the shape of the supermarket agent to square If random 100 = 9 and pxcor = 0 and pycor = 3 and pxcor = 3 and pycor = 6 and pxcor = 6 and pycor = 6 and pxcor = 3 and pycor = 12 and pxcor = 3 and pycor = 15 and pxcor = 6 and pycor = 18 and pxcor = 6 and pycor = 3 and pxcor = 12 and pycor = 15 and pxcor = 12 and pycor = 12 and pxcor = 9 and pycor = 18 and pxcor = 15 and pycor = 6 and pxcor = 15 and pycor = 0 and pxcor = 18 and pycor Set probability 75 Update the probability based on the time counter Set probability 0 Set the initial probability of going to a store Procedure called every time the model iterates to ZINAN, netlogo-users The simple reporter statement for what you want to do is (assuming cars and people are the plural names of your turtle breeds): cars with any people-here. Visits Keeps track of the number of visits the consumer makes to a storeÄistance-travelled Keeps track of the distance travelled by the consumerĪrea-type Records the geo-demographic type of the patch Probability Keeps track of the consumers current probability of going to a store Home-location Stores the home location of consumerÄestination Keeps track of the consumers current destination the women have random values for characteristics (variables. lets say i have two breeds, men and women. NetLogo / models Public master models/Code Examples/Breeds and Shapes ogo Go to file Cannot retrieve contributors at this time 460 lines (409 sloc) 10. I'm trying to get one type of breed to evaluate all the agents in another breed, and choose which one it likes best based on its own preferences of the characteristics of the other breed. ![]() Spend-at-store Keeps track of the spend at the store The NetLogo Dictionary has a complete list of built-in instructions (i.e. Create 7 different types of consumer agentsĪttractiveness Records the stores attractivess scoreĬustomers Records the who number of each consumer agent that visits the store
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |