AIToolbox
A library that offers tools for AI problem solving.
|
Go to the documentation of this file. 1 #ifndef AI_TOOLBOX_MDP_GRIDWORLD_HEADER_FILE
2 #define AI_TOOLBOX_MDP_GRIDWORLD_HEADER_FILE
11 namespace GridWorldUtils {
27 operator size_t()
const;
28 unsigned getX()
const;
29 unsigned getY()
const;
34 State(
int xx,
int yy,
size_t ss);
47 GridWorld(
unsigned width,
unsigned height,
bool torus =
false);
117 int boundX(
int x)
const;
118 int boundY(
int y)
const;
120 unsigned width_, height_;