mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-23 07:16:44 +02:00
23 lines
1.1 KiB
Python
23 lines
1.1 KiB
Python
# Names / Identifiers
|
|
DOOR = 'Door' # Identifier of Single-Door Entities.
|
|
DOORS = 'Doors' # Identifier of Door-objects and groups (groups).
|
|
|
|
# Symbols (in map)
|
|
SYMBOL_DOOR = 'D' # Door _identifier for resolving the string based map files.
|
|
|
|
# Values
|
|
VALUE_ACCESS_INDICATOR = 0.2222 # Access-door-Cell value used in observation
|
|
VALUE_OPEN_DOOR = 0.4444 # Open-door-Cell value used in observation
|
|
VALUE_CLOSED_DOOR = 0.6666 # Closed-door-Cell value used in observation
|
|
|
|
# States
|
|
STATE_CLOSED = 'closed' # Identifier to compare door-is-closed state
|
|
STATE_OPEN = 'open' # Identifier to compare door-is-open state
|
|
|
|
# Actions
|
|
ACTION_DOOR_USE = 'use_door' # Identifier for door-action
|
|
|
|
# Rewards
|
|
REWARD_USE_DOOR_VALID: float = -0.00 # Reward for successful door use
|
|
REWARD_USE_DOOR_FAIL: float = -0.01 # Reward for unsuccessful door use
|