Introduction
The basic structure of an agent-based simulation model is:
- Definition of a model with its evolution rules.
- Initialization of a community of agents to be evolved.
- Evolution of agents during some iterations and storage of the simulation results.
- Posterior analysis of the results.
We will cover the different parts of a CellBasedModels.jl from how to define models to optimization of the models.
First, we will need to upload the package.
using CellBasedModels
Basic Structures of the Package
The package works around the two main structures:
ABM
: is the structure that contains all the information of the parameters and rules of the agents.Community
: is the structure that containts a realization of a set of agents that have the parameters and evolution rules defined by anABM
. The Community structure will be initialized and then evolved using the rules defined in the ABM structure.