├── .gitignore ├── LICENSE ├── MARL for patrolling agents - Report.pdf ├── config └── default.yaml ├── gifs ├── 3D.gif ├── dqn-2v2.gif ├── maddpg_2v2.gif ├── normal.gif ├── obstacles.gif └── switch-dqn-2v1.gif ├── main_dqn.py ├── main_maddpg.py ├── model └── dqn.py ├── readme.md ├── requirements.txt ├── sim ├── __init__.py ├── agents │ ├── __init__.py │ ├── agents.py │ └── multiagents.py ├── env.py ├── memory.py └── rewards.py ├── test └── test_agent.py └── utils ├── __init__.py ├── config.py ├── metrics.py ├── misc.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/LICENSE -------------------------------------------------------------------------------- /MARL for patrolling agents - Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/MARL for patrolling agents - Report.pdf -------------------------------------------------------------------------------- /config/default.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/config/default.yaml -------------------------------------------------------------------------------- /gifs/3D.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/3D.gif -------------------------------------------------------------------------------- /gifs/dqn-2v2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/dqn-2v2.gif -------------------------------------------------------------------------------- /gifs/maddpg_2v2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/maddpg_2v2.gif -------------------------------------------------------------------------------- /gifs/normal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/normal.gif -------------------------------------------------------------------------------- /gifs/obstacles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/obstacles.gif -------------------------------------------------------------------------------- /gifs/switch-dqn-2v1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/gifs/switch-dqn-2v1.gif -------------------------------------------------------------------------------- /main_dqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/main_dqn.py -------------------------------------------------------------------------------- /main_maddpg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/main_maddpg.py -------------------------------------------------------------------------------- /model/dqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/model/dqn.py -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/readme.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | matplotlib 3 | torch 4 | -------------------------------------------------------------------------------- /sim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/__init__.py -------------------------------------------------------------------------------- /sim/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/agents/__init__.py -------------------------------------------------------------------------------- /sim/agents/agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/agents/agents.py -------------------------------------------------------------------------------- /sim/agents/multiagents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/agents/multiagents.py -------------------------------------------------------------------------------- /sim/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/env.py -------------------------------------------------------------------------------- /sim/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/memory.py -------------------------------------------------------------------------------- /sim/rewards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/sim/rewards.py -------------------------------------------------------------------------------- /test/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/test/test_agent.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/utils/config.py -------------------------------------------------------------------------------- /utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/utils/metrics.py -------------------------------------------------------------------------------- /utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/utils/misc.py -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdvllrs/marl-patrolling-agents/HEAD/utils/utils.py --------------------------------------------------------------------------------