an introduction to the lais agent-based simulator
DESCRIPTION
An introduction to the LAIS Agent-based Simulator. Nuno Fachada 23/01/2009. Summary. Features Simulation paradigm and limitations Architecture Installing LAIS Running LAIS Simple predator-prey example The LAIS API Extending LAIS Future work from me Future work for you. Features. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/1.jpg)
An introduction to the LAIS Agent-based Simulator
Nuno Fachada23/01/2009
![Page 2: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/2.jpg)
Summary1. Features2. Simulation paradigm and limitations3. Architecture4. Installing LAIS5. Running LAIS6. Simple predator-prey example7. The LAIS API8. Extending LAIS9. Future work from me10.Future work for you
![Page 3: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/3.jpg)
Features
• Modular and Flexible: lego like! simple classes = lego pieces => build complex models
• Accessible: XML puts pieces together• Extensible: New pieces (classes) can be
created• Transparently multithreaded
![Page 4: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/4.jpg)
Simulation paradigm/limitations– Simulation space is a 2D cellular automata neighborhood– Simulation space has two layers (substance and agent
layers)– Agents are typical ABM discrete entities and have a mind of
their own!– Substances are real-valued entities, which obey to physical
laws of diffusion, degradation and reaction: they are dumb!– Agents can:
• Produce and consume substances• Act depending on local substance concentration• Display superficial substances • React according to superficial substances displayed by other agents
![Page 5: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/5.jpg)
LAIS Architecture (1)
![Page 6: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/6.jpg)
LAIS Architecture (2)The agent
![Page 7: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/7.jpg)
Running LAIS
• Parameters can also be passed directly from the command line
![Page 8: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/8.jpg)
A simple predator-prey model (1)The XML Model File
![Page 9: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/9.jpg)
A simple predator-prey model (2)The XML Model File: SubstanceManager
![Page 10: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/10.jpg)
A simple predator-prey model (3)The XML Model File: AgentManager
![Page 11: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/11.jpg)
A simple predator-prey model (4) The XML Model File: Prey genome
![Page 12: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/12.jpg)
A simple predator-prey model (5) The XML Model File: Predator genome
![Page 13: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/13.jpg)
A simple predator-prey model (6) The XML Script File
![Page 14: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/14.jpg)
A simple predator-prey model (6) The XML Data Track File
![Page 15: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/15.jpg)
The LAIS API
![Page 16: An introduction to the LAIS Agent-based Simulator](https://reader034.vdocuments.us/reader034/viewer/2022051821/56814fdb550346895dbda21c/html5/thumbnails/16.jpg)
Extending LAIS
Other classes to extend:•Event (such as AgentDeploy, SubstanceDeploy)•Scheduling types (such as ScheduleAtTick, ScheduleAtInterval and PerformAtButtonPress) •Deployment constrains for AgentDeploy and SubstanceDeploy events.•Output (such as GraphicalOutput and FileOutput)
New classes can be directly referenced in XML and used in LAIS!