transitions reworked
[mc1516pa.git] / modelchecker / coord.h
index 4ac7442..33f7e91 100644 (file)
@@ -8,23 +8,22 @@ typedef struct {
        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;