Course Feedback
It is possible to define breeds into a loop? The idea is that I have a slider with the number of bacterial strings and I want to create a breed for each string. If the slider defines 4 strings the loop creates 4 breeds. Is this possible? How can I do it?
ThanksAFAIK you *cannot* dynamically create breeds. However, do you really need separate breeds here ? Maybe you can do this with a single breed ("bacteria") and have a property (e.g. 'bacterial-type' on the agent that contains the bacterial string. To select an agentset for each 'sub-breed' you could do something like: `bacteria with [bacteria-type = string]` This style tends to work wel - lespecially if the 'sub-breeds` are otherwise very similar.
Maybe with sprout function?
I don't know how you use the patches of your universe but something like: ask patches [ sprout 1 [ set color red ]]Thanks Ronald and Gilles, I'll first try with Ronald's option.
Looking at the peer reviews for my model design assignment, it looks like one review is referencing a different model than the one I submitted. The comments left by the reviewer talk about a phenomenon unrelated to the one I plan to model.
Hi Peter, please send an email to abm@complexityexplorer.org with your assignment and the reviews attached, we will look into it.
No, we don't do office hours.
Subforums
- Introduce Yourself
- Class Announcements
- Study Groups and Meetups
- Technical Issues
- General Discussion
- Course Feedback
- Course Materials to Share
- Unit 1: What is Agent-Based Modeling and Why Should You Use It?
- Unit 2: Building a Simple Model
- Unit 3: Extending Models
- Unit 4: Creating Agent-Based Models
- Unit 5: The Components of an Agent-Based Model
- Unit 6: Analyzing Agent-Based Models
- Unit 7: Verification, Validation, and Replication
- Unit 8: History of ABM and Classic Models
- Unit 9: Advanced ABM