A domain that extends the grid world domain by adding "Macro Cells" to it, which specify rectangular regions of the space.
A propositional function for detecting if the agent is in a specific macro cell.
RewardFunction class that returns rewards based on a linear combination of propositional functions
A class for visualizing the reward weights assigned to a Macro-cell in a Macro-cell grid world.
Class for painting the macro cells a color between white and blue, where strong blue indicates strong reward weights.