- Declared in:
- Position.h
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
" Position is a class that holds location information for agents. It contains a pointer to a "world" (a grid, really) as well as location coordinates (x,y) in that world (which are stored as an array, so it is actually (location[0],location[1]), the dimensions of that grid and an integer that can act as an "identifier" for that world. One of the confusing things about this model is that the standard Swarm term "world" does not exactly fit, so I'm replacing it with Position."