+void MC_init_with_automaton(xbt_automaton_t a){
+
+ mc_time = xbt_new0(double, simix_process_maxpid);
+
+ /* Initialize the data structures that must be persistent across every
+ iteration of the model-checker (in RAW memory) */
+ MC_SET_RAW_MEM;
+
+ /* Initialize statistics */
+ mc_stats = xbt_new0(s_mc_stats_t, 1);
+ mc_stats->state_size = 1;
+
+ /* Create exploration stack */
+ mc_snapshot_stack = xbt_fifo_new();
+
+ MC_UNSET_RAW_MEM;
+
+ XBT_DEBUG("---------- Avant dfs init -----------");
+
+ MC_dfs_init(a);
+}
+
+