This repository contains code example of Agent based modeling / Game theory. This codes are written in Matlab R2017a. Game theoy - mathematical framework for strategic interactions of individuals.
Properties of Agent:
- Agents are autonomous.
- Agents are interdependent.
- Agents follow simple rules.
- Agents are adaptive and backward-looking.
Agent-based simulations:
- The models simulate the simultaneous operations of multiple agents, in an attempt to re-create and predict the actions of complex phenomena.
- Agents can be pedestrians, animals, customers, internet users, etc...
Programming an agent-based simulator often goes in five steps:
- Initialization - initial state, parameters; environment.
- Time loop - processing each time steps.
- Agents loop - processing each agents.
- Update - Upadating agent i at time t.
- Save data - For further analysis.
Reference:
- 851-0585-04L -Modeling and simulating Social systems with Matlab by Karsten Donnay and Stefano Balietti.