├── .gitignore ├── LICENSE ├── README.md ├── battle.py ├── examples ├── README.md ├── battle_model │ ├── .DS_Store │ ├── .gitignore │ ├── CMakeLists.txt │ ├── README.md │ ├── algo │ │ ├── __init__.py │ │ ├── ac.py │ │ ├── base.py │ │ ├── q_learning.py │ │ └── tools.py │ ├── build.sh │ ├── python │ │ └── magent │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── builtin │ │ │ ├── __init__.py │ │ │ ├── common.py │ │ │ ├── config │ │ │ │ ├── __init__.py │ │ │ │ ├── battle.py │ │ │ │ ├── double_attack.py │ │ │ │ ├── forest.py │ │ │ │ └── pursuit.py │ │ │ ├── mx_model │ │ │ │ ├── __init__.py │ │ │ │ ├── a2c.py │ │ │ │ ├── base.py │ │ │ │ └── dqn.py │ │ │ ├── rule_model │ │ │ │ ├── __init__.py │ │ │ │ ├── random.py │ │ │ │ ├── runaway.py │ │ │ │ ├── rush.py │ │ │ │ └── rushgather.py │ │ │ └── tf_model │ │ │ │ ├── __init__.py │ │ │ │ ├── a2c.py │ │ │ │ ├── base.py │ │ │ │ ├── dqn.py │ │ │ │ └── drqn.py │ │ │ ├── c_lib.py │ │ │ ├── discrete_snake.py │ │ │ ├── environment.py │ │ │ ├── gridworld.py │ │ │ ├── model.py │ │ │ ├── renderer │ │ │ ├── __init__.py │ │ │ ├── base_renderer.py │ │ │ ├── pygame_renderer.py │ │ │ └── server │ │ │ │ ├── __init__.py │ │ │ │ ├── arrange_server.py │ │ │ │ ├── base_server.py │ │ │ │ ├── battle_server.py │ │ │ │ ├── random_server.py │ │ │ │ └── sample_server.py │ │ │ └── utility.py │ ├── senario_battle.py │ └── src │ │ ├── Environment.h │ │ ├── discrete_snake │ │ ├── DiscreteSnake.cc │ │ ├── DiscreteSnake.h │ │ ├── Map.cc │ │ ├── Map.h │ │ ├── RenderGenerator.cc │ │ ├── RenderGenerator.h │ │ └── snake_def.h │ │ ├── gridworld │ │ ├── AgentType.cc │ │ ├── AgentType.h │ │ ├── GridWorld.cc │ │ ├── GridWorld.h │ │ ├── Map.cc │ │ ├── Map.h │ │ ├── Range.h │ │ ├── RenderGenerator.cc │ │ ├── RenderGenerator.h │ │ ├── RewardEngine.cc │ │ ├── RewardEngine.h │ │ ├── grid_def.h │ │ └── test.cc │ │ ├── render │ │ ├── backend │ │ │ ├── data.cc │ │ │ ├── data.h │ │ │ ├── demo │ │ │ │ ├── config.json │ │ │ │ └── static.map │ │ │ ├── protocol.h │ │ │ ├── render.cc │ │ │ ├── server.h │ │ │ ├── socket.h │ │ │ ├── text.cc │ │ │ ├── text.h │ │ │ ├── utility │ │ │ │ ├── config.cc │ │ │ │ ├── config.h │ │ │ │ ├── exception.h │ │ │ │ ├── logger.cc │ │ │ │ ├── logger.h │ │ │ │ └── utility.h │ │ │ ├── websocket.cc │ │ │ └── websocket.h │ │ └── frontend │ │ │ ├── index.html │ │ │ ├── js │ │ │ ├── render-handle.js │ │ │ ├── render-parameter.js │ │ │ └── render.js │ │ │ └── vendor │ │ │ ├── bootstrap-toggle.min.css │ │ │ ├── bootstrap-toggle.min.js │ │ │ ├── bootstrap-toggle.min.js.map │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery-ui.min.css │ │ │ ├── jquery.jgrowl.min.css │ │ │ ├── jquery.jgrowl.min.js │ │ │ ├── jquery.min.js │ │ │ ├── pixi.min.js │ │ │ └── pixi.min.js.map │ │ ├── runtime_api.cc │ │ ├── runtime_api.h │ │ ├── temp_c_booster.cc │ │ └── utility │ │ ├── utility.cc │ │ └── utility.h └── ising_model │ ├── Ising.py │ ├── __init__.py │ └── multiagent │ ├── __init__.py │ ├── core.py │ └── environment.py ├── main_MFQ_Ising.py ├── resources ├── battle.gif └── line.gif └── train_battle.py /.gitignore: -------------------------------------------------------------------------------- 1 | data/ 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/README.md -------------------------------------------------------------------------------- /battle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/battle.py -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/battle_model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/.DS_Store -------------------------------------------------------------------------------- /examples/battle_model/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | **__pycache__ 3 | -------------------------------------------------------------------------------- /examples/battle_model/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/CMakeLists.txt -------------------------------------------------------------------------------- /examples/battle_model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/README.md -------------------------------------------------------------------------------- /examples/battle_model/algo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/algo/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/algo/ac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/algo/ac.py -------------------------------------------------------------------------------- /examples/battle_model/algo/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/algo/base.py -------------------------------------------------------------------------------- /examples/battle_model/algo/q_learning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/algo/q_learning.py -------------------------------------------------------------------------------- /examples/battle_model/algo/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/algo/tools.py -------------------------------------------------------------------------------- /examples/battle_model/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/build.sh -------------------------------------------------------------------------------- /examples/battle_model/python/magent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/README.md -------------------------------------------------------------------------------- /examples/battle_model/python/magent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/common.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/config/battle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/config/battle.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/config/double_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/config/double_attack.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/config/forest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/config/forest.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/config/pursuit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/config/pursuit.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/mx_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/mx_model/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/mx_model/a2c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/mx_model/a2c.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/mx_model/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/mx_model/base.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/mx_model/dqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/mx_model/dqn.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/rule_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/rule_model/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/rule_model/random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/rule_model/random.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/rule_model/runaway.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/rule_model/runaway.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/rule_model/rush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/rule_model/rush.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/rule_model/rushgather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/rule_model/rushgather.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/tf_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/tf_model/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/tf_model/a2c.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/tf_model/a2c.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/tf_model/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/tf_model/base.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/tf_model/dqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/tf_model/dqn.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/builtin/tf_model/drqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/builtin/tf_model/drqn.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/c_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/c_lib.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/discrete_snake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/discrete_snake.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/environment.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/gridworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/gridworld.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/model.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/base_renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/base_renderer.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/pygame_renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/pygame_renderer.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/__init__.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/arrange_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/arrange_server.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/base_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/base_server.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/battle_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/battle_server.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/random_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/random_server.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/renderer/server/sample_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/renderer/server/sample_server.py -------------------------------------------------------------------------------- /examples/battle_model/python/magent/utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/python/magent/utility.py -------------------------------------------------------------------------------- /examples/battle_model/senario_battle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/senario_battle.py -------------------------------------------------------------------------------- /examples/battle_model/src/Environment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/Environment.h -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/DiscreteSnake.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/DiscreteSnake.cc -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/DiscreteSnake.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/DiscreteSnake.h -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/Map.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/Map.cc -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/Map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/Map.h -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/RenderGenerator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/RenderGenerator.cc -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/RenderGenerator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/RenderGenerator.h -------------------------------------------------------------------------------- /examples/battle_model/src/discrete_snake/snake_def.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/discrete_snake/snake_def.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/AgentType.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/AgentType.cc -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/AgentType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/AgentType.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/GridWorld.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/GridWorld.cc -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/GridWorld.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/GridWorld.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/Map.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/Map.cc -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/Map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/Map.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/Range.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/Range.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/RenderGenerator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/RenderGenerator.cc -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/RenderGenerator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/RenderGenerator.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/RewardEngine.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/RewardEngine.cc -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/RewardEngine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/RewardEngine.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/grid_def.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/grid_def.h -------------------------------------------------------------------------------- /examples/battle_model/src/gridworld/test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/gridworld/test.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/data.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/data.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/data.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/demo/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/demo/config.json -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/demo/static.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/demo/static.map -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/protocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/protocol.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/render.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/render.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/server.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/socket.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/text.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/text.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/text.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/text.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/config.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/config.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/config.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/exception.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/exception.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/logger.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/logger.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/logger.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/utility/utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/utility/utility.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/websocket.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/websocket.cc -------------------------------------------------------------------------------- /examples/battle_model/src/render/backend/websocket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/backend/websocket.h -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/index.html -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/js/render-handle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/js/render-handle.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/js/render-parameter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/js/render-parameter.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/js/render.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | run(); 3 | }); -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.css -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/bootstrap-toggle.min.js.map -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/bootstrap.min.css -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/bootstrap.min.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/jquery-ui.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/jquery-ui.min.css -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/jquery.jgrowl.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/jquery.jgrowl.min.css -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/jquery.jgrowl.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/jquery.jgrowl.min.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/jquery.min.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/pixi.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/pixi.min.js -------------------------------------------------------------------------------- /examples/battle_model/src/render/frontend/vendor/pixi.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/render/frontend/vendor/pixi.min.js.map -------------------------------------------------------------------------------- /examples/battle_model/src/runtime_api.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/runtime_api.cc -------------------------------------------------------------------------------- /examples/battle_model/src/runtime_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/runtime_api.h -------------------------------------------------------------------------------- /examples/battle_model/src/temp_c_booster.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/temp_c_booster.cc -------------------------------------------------------------------------------- /examples/battle_model/src/utility/utility.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/utility/utility.cc -------------------------------------------------------------------------------- /examples/battle_model/src/utility/utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/battle_model/src/utility/utility.h -------------------------------------------------------------------------------- /examples/ising_model/Ising.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/ising_model/Ising.py -------------------------------------------------------------------------------- /examples/ising_model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/ising_model/__init__.py -------------------------------------------------------------------------------- /examples/ising_model/multiagent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/ising_model/multiagent/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/ising_model/multiagent/core.py -------------------------------------------------------------------------------- /examples/ising_model/multiagent/environment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/examples/ising_model/multiagent/environment.py -------------------------------------------------------------------------------- /main_MFQ_Ising.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/main_MFQ_Ising.py -------------------------------------------------------------------------------- /resources/battle.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/resources/battle.gif -------------------------------------------------------------------------------- /resources/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/resources/line.gif -------------------------------------------------------------------------------- /train_battle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlii/mfrl/HEAD/train_battle.py --------------------------------------------------------------------------------