NetLogo Part 2
After completing part 1 you should have a running Flocking – Alternative Visualisations NetLogo
model. You would have explored the behaviours as they are affected by the sliders and so on. Now,
your IT-manager wants you to demonstrate some thinking and imagination by extending the model.
The IT-manager feels that birds (or boids) do more than just flock and flap about like senior
managers. He has suggested you look at the wolf sheep predation (WSP) model and combine one or
more aspects of WSP into the flocking model. Several approaches are suggested for consideration:
1. Combine the two models together with no real changes to either model’s behaviours. This means
there is no obvious interaction between the wolves/sheep and the birds. The challenge here is the
visual display – it has to be made interesting and informative. The IT-manager wonders if a 3d
display might be interesting?
2. Birds need to feed. So in your flocking model introduce the behaviour of the birds landing (for a
period determined by a slider for example), feeding and then taking-off. What happens if birds get
hungry? The birds may or may not land where sheep are feeding. In this model, birds and sheep
share the same food resource. You would use some of the code in the WSP as templates for
adapting your flocking model.
3. Birds get eaten by birds of prey like the peregrine falcon. In your model, introduce the peregrine
falcon as the equivalent of a wolf in the WSP model. Peregrine falcons have acute eyesight and fly at
high altitudes, identify their prey and swoop down to take a bird-in-flight. It is envisaged, that a
falcon swooping on a flock will disrupt the flock while attempting to kill a bird. Introduce sliders to
control the number of birds, falcons, breeding cycles and so on. The 3d display would need careful
thinking.
You may use one of the above suggestions for your assignment, combine them or perhaps come up
with an interesting alternative – perhaps wolves might like to eat birds? What about an owl-mice
predation model?
You should consider and comment on what you can and can’t do in the time allocated for the
assignment. Further, you should also comment on what the limitations of Netlogo 6.0 environment
as installed for studying knowledge management. Suggest how you could overcome these
limitations. You are required to submit a working model. Explain your choices and assumptions.
What to Submit.
You need to include documentation in the Info Tab, comment your code and provide a PDF file that
includes screenshots, evidence of testing and answers to the questions in the brief. It is vital that you
submit a working model. If you know of bugs, document them. Provide a small pull down menu of
test scenarios that your IT-Manager can choose and run (each option would set the initial values of
variables and sliders to highlight a behaviour). An example of a pull down menu is in the “Virus –
alternative visualisation” model in the library. Have a look at the programming guide too. Submit the
.nlogo model and the PDF documentation.