How to build a RePast model: Table of Content...

来源:百度文库 编辑:神马文学网 时间:2024/04/27 02:56:34

A RePast Tutorial by John T. Murphy, University of Arizona & Arizona State University (contact)

Table of contents

  • Tutorial Main Page
  • Step 1: How to create a RePast model- Overview and introduction
  • Step 2: The SimModel Object- The basic model object in RePast
  • Step 3: The CarryDrop model- The example model this tutorial builds
  • Step 4: Adding User-settable Parameters- Parameters the user can vary at runtime
  • Step 5: Compiling and Running the Basic Model- Starting a RePast model
  • Step 6: Default Values for User-Settable Parameters- Providing defaults for the parameters in the interface
  • Step 7: Alerts in Subroutines- A crude but useful reporting method
  • Step 8: The Space Object- Where agents and other model elements are located
  • Step 9: The space Object in the Sim Model- Making the model object instantiate the space object
  • Step 10: Initializing the Space Object- Basic setup for the landscape
  • Step 11: Getting Money- A Brief Aside- Some revisions for simplicity
  • Step 12: Some Visible Output- Setting up the display of the space object
  • Step 13: Creating a Color Map- Defining a color map for the display
  • Step 14: Generating a Display- Making RePast show the space object
  • Step 15: The Agent object- Adding basic attributes to the agents
  • Step 16: Creating the agents- Making the model make N agents
  • Step 17: Agents in Space- Making the space object able to use the agents
  • Step 18: Adding Agents to the Space- Placing the agents into locations in the space object
  • Step 19: Reporting- Some basic ways to output model status
  • Step 20: Displaying agents- Showing agents on the screen
  • Step 21: Adding a schedule and Some Action- Creating a schedule of events
  • Step 22: Another Schedule Example- Another thing that could be done with the schedule
  • Step 23: Displays and Schedules- How RePast uses the schedule to update the displays
  • Step 24: The Circle of Life: Agents Dying and Being Born- Making agents arrive and leave the model
  • Step 25: Agents Learn Their Place- Making agents know where they are in space
  • Step 26: Agents Get Money- A 'take money' function that allows agents to pluck money from the landscape
  • Step 27: Agents on the Move- Making it possible for agents to move around the landscape
  • Step 28: Money Changing Hands- When agents collide they exchange money
  • Step 29: Probing the Space and the Agents- RePast allows the model to be interrogated in the GUI
  • Step 30: Adding a Chart- Using RePast for displaying data in a chart
  • Step 31: Adding a Histogram- Using RePast for displaying data in a histogram
  • Step 32: Conclusion- Final comments and JavaDoc
Thanks to Lazar Kovacevic for helping me with this TOChttp://www.perfectknowledgedb.com/Tutorials/H2R/HowTo00.htm