mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-11 15:32:42 +02:00
renaming
This commit is contained in:
README.md
marl_factory_grid
__init__.py
algorithms
environment
__init__.pyactions.py
assets
constants.pyentity
factory.pygroups
rewards.pyrules.pylogging
modules
__init__.py
_template
batteries
clean_up
__init__.pyactions.pyconstants.pydirtpiles.pngentitites.pygroups.pyrewards.pyrule_done_on_all_clean.pyrule_respawn.pyrule_smear_on_move.py
destinations
doors
__init__.pyactions.pyconstants.pydoor_closed.pngdoor_open.pngentitites.pygroups.pyrewards.pyrule_door_auto_close.py
items
levels
machines
plotting
quickstart
utils
mfg_package/algorithms/marl
reload_agent.pysetup.py@ -1,68 +0,0 @@
|
||||
---
|
||||
General:
|
||||
level_name: rooms
|
||||
env_seed: 69
|
||||
verbose: !!bool False
|
||||
pomdp_r: 5
|
||||
individual_rewards: !!bool True
|
||||
|
||||
Entities:
|
||||
Defaults: {}
|
||||
DirtPiles:
|
||||
initial_dirt_ratio: 0.3 # On INIT, on max how many tiles does the dirt spawn in percent.
|
||||
dirt_spawn_r_var: 0.05 # How much does the dirt spawn amount vary?
|
||||
initial_amount: 3
|
||||
max_local_amount: 5 # Max dirt amount per tile.
|
||||
max_global_amount: 20 # Max dirt amount in the whole environment.
|
||||
Doors:
|
||||
closed_on_init: True
|
||||
auto_close_interval: 10
|
||||
indicate_area: False
|
||||
Agents:
|
||||
Wolfgang:
|
||||
Actions:
|
||||
- Move8
|
||||
- Noop
|
||||
- DoorUse
|
||||
- CleanUp
|
||||
Observations:
|
||||
- Self
|
||||
- Placeholder
|
||||
- Walls
|
||||
- DirtPiles
|
||||
- Placeholder
|
||||
- Doors
|
||||
- Doors
|
||||
Björn:
|
||||
Actions:
|
||||
# Move4, Noop
|
||||
- Move4
|
||||
- DoorUse
|
||||
- CleanUp
|
||||
Observations:
|
||||
- Defaults
|
||||
- Combined
|
||||
Jürgen:
|
||||
Actions:
|
||||
# Move4, Noop
|
||||
- Defaults
|
||||
- DoorUse
|
||||
- CleanUp
|
||||
Observations:
|
||||
- Walls
|
||||
- Placeholder
|
||||
- Agent[Björn]
|
||||
Rules:
|
||||
Defaults: {}
|
||||
Collision:
|
||||
done_at_collisions: !!bool False
|
||||
DirtRespawnRule:
|
||||
spawn_freq: 5
|
||||
DirtSmearOnMove:
|
||||
smear_amount: 0.12
|
||||
DoorAutoClose: {}
|
||||
DirtAllCleanDone: {}
|
||||
Assets:
|
||||
- Defaults
|
||||
- Dirt
|
||||
- Doors
|
@ -1,14 +0,0 @@
|
||||
import os
|
||||
import shutil
|
||||
from pathlib import Path
|
||||
|
||||
from mfg_package.utils.tools import ConfigExplainer
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('Retrieving available options...')
|
||||
ce = ConfigExplainer()
|
||||
cwd = Path(os.getcwd())
|
||||
ce.save_all(cwd / 'full_config.yaml')
|
||||
template_path = Path(__file__) / 'mfg_package' / 'modules' / '_template'
|
||||
shutil.copytree(template_path, cwd)
|
||||
print()
|
Reference in New Issue
Block a user