Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : delete visited in struct xbt_state_t (unused)
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 13 Sep 2011 15:56:54 +0000 (17:56 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 25 Oct 2011 11:36:57 +0000 (13:36 +0200)
examples/msg/mc/automaton.c
examples/msg/mc/automaton.h
src/mc/private.h

index f8bb337..76342fc 100644 (file)
@@ -12,7 +12,6 @@ xbt_automaton_t xbt_automaton_new_automaton(){
 xbt_state_t xbt_automaton_new_state(xbt_automaton_t a, int type, char* id){
   xbt_state_t state = NULL;
   state = xbt_new0(struct xbt_state, 1);
-  state->visited = 0;
   state->type = type;
   state->id = strdup(id);
   state->in = xbt_dynar_new(sizeof(xbt_transition_t), NULL);
index d1568c1..b5e1b9d 100644 (file)
@@ -14,7 +14,6 @@ typedef struct xbt_state {
   int type; /* -1 = init, 0 = inter, 1 = final */
   xbt_dynar_t in;
   xbt_dynar_t out;
-  int visited;
 } s_xbt_state;
 
 typedef struct xbt_state* xbt_state_t;
index 76c0e89..3933268 100644 (file)
@@ -229,6 +229,10 @@ typedef struct s_mc_pair_stateless{
   xbt_state_t automaton_state;
 }s_mc_pair_stateless_t, *mc_pair_stateless_t;
 
+typedef struct s_mc_pair_stateless_reached{
+  char *id_state_automaton;
+}s_mc_pair_reached_stateless_t, *mc_pair_reached_stateless_t;
+
 extern xbt_fifo_t mc_stack_liveness_stateless;
 
 mc_pair_stateless_t new_pair_stateless(mc_state_t sg, xbt_state_t st);