-
Christoph Kowalski authored
Addedd a DeterministicOrderGeneration. Within the config you can now specify a list of meals, their start time and their duration and then the orders will be always given at the same time with the same duration. This is beneficial for studies.
Christoph Kowalski authoredAddedd a DeterministicOrderGeneration. Within the config you can now specify a list of meals, their start time and their duration and then the orders will be always given at the same time with the same duration. This is beneficial for studies.
environment_config.yaml 6.57 KiB
plates:
clean_plates: 2
dirty_plates: 1
plate_delay: [ 5, 10 ]
# range of seconds until the dirty plate arrives.
game:
time_limit_seconds: 300
undo_dispenser_pickup: true
validate_recipes: true
layout_chars:
_: Free
hash: Counter # #
equal: EdgeCounter # =
A: Agent
pipe: Extinguisher
P: PlateDispenser
C: CuttingBoard
X: Trashcan
$: ServingWindow
S: Sink
+: SinkAddon
at: Plate # @ just a clean plate on a counter
U: Pot # with Stove
Q: Pan # with Stove
O: Peel # with Oven
F: Basket # with DeepFryer
T: Tomato
N: Onion # oNioN
L: Lettuce
K: Potato # Kartoffel
I: Fish # fIIIsh
D: Dough
E: Cheese # chEEEse
G: Sausage # sausaGe
B: Bun
M: Meat
question: Counter # ? mushroom
↓: Counter
^: Counter
right: Counter
left: Counter
wave: Free # ~ Water
minus: Free # - Ice
dquote: Counter # " wall/truck
p: Counter # second plate return ??
orders:
meals:
all: true
# if all: false -> only orders for these meals are generated
# TODO: what if this list is empty?
list:
# - TomatoSoup
# - OnionSoup
# - Salad
- FriedFish
order_gen_class: !!python/name:cooperative_cuisine.orders.DeterministicOrderGeneration
# the class to that receives the kwargs. Should be a child class of OrderGeneration in orders.py
order_gen_kwargs:
order_duration_random_func:
# how long should the orders be alive
# 'random' library call with getattr, kwargs are passed to the function
func: uniform
kwargs:
a: 55
b: 65