int size;
} variables;
-typedef struct
-{
+typedef struct {
BDD bdd;
variables vars;
} state;
-typedef struct
-{
+typedef struct trans {
BDD bdd;
variables varset;
-} trans;
+ struct trans *next_rel;
+} trans_t;
typedef struct {
- BDD *rell;
- BDD *relu;
- BDD *relr;
- BDD *reld;
+ trans_t *rell;
+ trans_t *relu;
+ trans_t *relr;
+ trans_t *reld;
} rels;
typedef enum { LEFT, UP, RIGHT, DOWN } direction;