-
Notifications
You must be signed in to change notification settings - Fork 0
How it works
Antoine "Avzgui" Richard edited this page Jul 14, 2015
·
18 revisions
For this project we had to use different types of agents that had not at all the same behavior. A small ecosystem.
So we've decided to find a general pattern design for programming our agents (and others).
We thus reached a layered design, with each layer who defined a particularity of the agent.
By corollary, the diagram of classes we used for the model side of our application looks like something like this.
By definition an agent is dependent on its environment but an environment does not know and does not care if there are agents who runs it or changes it.
So the environment layer is defined like this :
- The environment can be navigated by agents.
- The environment guarantees the smooth functioning of its physical.
- The environment considers agents as any other parties making body of it.
- The environment can generate stimuli.

