ASM-2.2 documentation set
Project Homepage: http://ArtStkMkt.sourceforge.net
Current Maintainer: Paul Johnson <pauljohn@ku.edu>
Date: November 3, 2001
Maybe a picture is worth a thousand words.
The hierarchy of objects looks something like this:
The major aims in the revision from ASM-2.0 to ASM-2.2 have been
- Convert wherever possible from ordinary C code to object-oriented code. This has many implications, including the follwing
- Eliminate the usage of large C structs, replace them with Objects (e.g., BFCast, BFParams)
- Eliminate (or hide where necessary) any direct allocation of memory and pointer math.
- Introduce Swarm collections and iterators for repetitive chores.
- Isolate all direct manipulation of "bits" into subclasses (BFCast, BitVector) in order to make BFagent more readable and editing less error prone.
- Eliminate global variables wherever possible.
- Use Swarm's archiver tools to control simulation parameters. A high level Parameter class is created at the outset, and it holds instances of parameter objects for the ASMModelSwarm (ASMModelParams) and the bit forecasting agents (BFParams).
- Illustrate various methods by which Swarm models can output data about a simulation.
- Clear up and simplify the usage of Swarm conventions in designing the model's schedule.
- Introduce Swarm random number generators and distributions.
- More effectively document and present this large, interesting set of code.
The documentation for the individual classes can be inspected. Click to your heart's content.
pauljohn@ukans.edu
Last modified: Wed Oct 31 12:30:16 CST 2001