Get started with Counting Reward Machines in minutes
LetterWorld
): A grid world where the agent can move around. The ground environment is a simply a subclass of gymnasium.Env
(OpenAI Gym environment).LetterWorldLabellingFunction
): Converts agent positions to truth assignments for a set of propositions.LetterWorldCountingRewardMachine
): Defines rewards based on letter sequences.LetterWorldCrossProduct
): Combines everything to automatically generate a gymnasium.Gym
environment for the cross-product MDP.