Get started with Reward Machines and Counting Reward Machines in minutes
LetterWorld
)
A simple grid world subclass of gymnasium.Env
.LetterWorldLabellingFunction
)
Maps low-level environment transitions to high-level events (propositions).LetterWorldRewardMachine
)
Specifies rewards based on event sequences.LetterWorldCrossProduct
)
Combines environment, labelling function, and RM into a single Gymnasium-compatible environment.CountingRewardMachine
instead of a standard RM. The workflow is identical.