16 typedef enum { ROOT
, L
, U
, R
, D
} path_elt
;
24 typedef struct trans
{
27 struct trans
*next_rel
;
37 typedef enum { LEFT
, UP
, RIGHT
, DOWN
} direction
;
39 state
*encode_screen(sokoban_screen
*screen
);
41 rels
*encode_rel(sokoban_screen
*screen
);
43 int test_trans(state
*s
, trans_t
*t
);
45 state
*encode_goal(sokoban_screen
*screen
);