Please check more details here
Document: GitBook
This project focuses on analysing the effect of different Multi-agent dynamic systems and graphs.
- ๐ src: Source code of the project.
- ๐ package
- ๐ agent: single agent class
- ๐ agent.py
- ๐ model.py
- ๐ init.py
- ๐ h: config file and logger file
- ๐ config.py
- ๐ logger.py
- ๐ topology: topology class
- ๐ topology.py
- ๐ init.py
- ๐ agent: single agent class
- ๐ package
- ๐ result: Data used or generated by the project.
- ๐ exp_id: experiment id
- ๐ data: Save generated data
- ๐ log: Save log
- ๐ topology: Save generated topology
- ๐ exp_id: experiment id
- ๐ draw: Tools for drawing generated data(result/exp_id/data/.gzip[.csv])
- ๐ LICENSE: Project's license file.
- ๐ requirements.txt: List of project dependencies.
- ๐ .gitignore: Gitignore file.
- ๐ README.md: README
- ๐ run.py: Entry of whole project
Strongly recommend the use Miniconda or conda
conda create --name=MAAIDD python=3.8
conda activate MAAIDD
git clone https://github.com/LosFurina/MAAIDD.git
cd ./MAAIDD
pip install -r ./requirement.txt
-
You do not need to add any parameters when running, all parameters have been set below
-
Please confirm you have changed the correct arguments at config.py which relates to the final data saving path
python run.py
All parameters have been set at src/package/h/config.py
Maybe later, we will deprecate .py as a config file, but moving some const hyperparameters to .yaml
Before running this project, you should change it following your project
Variable Name | Default Value | Description |
---|---|---|
node_num |
10 | Number of nodes in the graph |
sample_interval |
0.01 | Sampling interval |
total_duration |
20 | Total sampling time (units: s) |
spread_interval_time |
0.4 | Duration between control variable spread |
alpha |
1.5 | Strength among different agents |
is_random_graph |
True | If set to False, node number must be 7 |
is_draw_process |
True | Whether drawing track draft when running simulation |
is_show_log |
True | If True, print all log on the terminal; otherwise, print log to file |
Please open the issue following the request