A framework to research MARL agents in various setings.
Project description
EDYS
Tackling emergent dysfunctions (EDYs) in cooperation with Fraunhofer-IKS
Setup
Just install this environment by pip install marl-factory-grid
.
First Steps
Quickstart
Most of the env. objects (entites, rules and assets) can be loaded automatically. Just define what your environment needs in a yaml-configfile like:
Example ConfigFile
General: level_name: rooms env_seed: 69 verbose: !!bool False pomdp_r: 5 individual_rewards: !!bool TrueEntities:
Defaults: {}
Doors:
closed_on_init: True
auto_close_interval: 10
indicate_area: False
Destinations: {}
Agents:
Wolfgang:
Actions:
- Move8
- Noop
- DoorUse
- ItemAction
Observations:
- All
- Placeholder
- Walls
- Items
- Placeholder
- Doors
- Doors
Armin:
Actions:
- Move4
- ItemAction
- DoorUse
Observations:
- Combined:
- Agent['Wolfgang']
- Walls
- Doors
- Items
Rules:
Defaults: {}
Collision:
done_at_collisions: !!bool True
ItemRespawn:
spawn_freq: 5
DoorAutoClose: {}
Assets:
- Defaults
- Items
- Doors
Have a look in \quickstart for further configuration examples.
Make it your own
Levels
Varying levels are created by defining Walls, Floor or Doors in .txt-files (see ./environment/levels for examples). Define which level to use in your configfile as:
General:
level_name: rooms
... or create your own , maybe witht he help of asciiflow.com.
Entites
TODO
Rules
TODO
- Results
Assets
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file Marl_Factory_Grid-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: Marl_Factory_Grid-0.0.3-py3-none-any.whl
- Upload date:
- Size: 97.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df20a234cb866cf58cc74de7a9215e6516f396b91d1d5b2f06c38a23f66c7200 |
|
MD5 | 9e828d03ac961ba1cb539a028dfb0d4b |
|
BLAKE2b-256 | 3b5e9b61c4b47f1259eff2df8323811006e223e567de32faa911ef22b1b16fa0 |