19 #ifndef SPOT_FASTTGBAALGOS_EC_OPT_OPT_NDFS_HH
20 # define SPOT_FASTTGBAALGOS_EC_OPT_OPT_NDFS_HH
27 #include "fasttgbaalgos/ec/ec.hh"
28 #include "fasttgbaalgos/ec/deadstore.hh"
29 #include "fasttgbaalgos/ec/lowlink_stack.hh"
30 #include "fasttgbaalgos/ec/root_stack.hh"
43 enum rcol {Blue, Cyan, Red};
54 bool swarm =
false,
int tid = 0);
64 std::string extra_info_csv();
72 virtual void dfs_push(fasttgba_state*);
75 virtual void dfs_pop();
78 virtual bool dfs_update (fasttgba_state* s);
86 enum color {Alive, Dead, Unknown};
97 std::vector<pair_state_iter>
todo;
107 bool counterexample_found;
138 #endif // SPOT_FASTTGBAALGOS_EC_OPT_OPT_NDFS_HH
this class acts like a wrapper to the C code of the open_set.
Definition: public.hh:32
const fasttgba * a_
the automaton that will be used for the Emptiness check
Definition: opt_ndfs.hh:110
Definition: fasttgba.hh:33
int roots_poped_cpt_
count UPDATE loop iterations
Definition: opt_ndfs.hh:128
This class act as an interface for all classes.
Definition: fasttgba_state.hh:30
std::vector< pair_state_iter > todo
the todo stack
Definition: opt_ndfs.hh:97
Abstract class for states.
Definition: state.hh:40
Sgi::hash_map< const fasttgba_state *, rcol, fasttgba_state_ptr_hash, fasttgba_state_ptr_equal > seen_map
The map of visited states.
Definition: opt_ndfs.hh:48
unsigned int max_live_size_
keep peack size
Definition: opt_ndfs.hh:125
int tid_
the thread id
Definition: opt_ndfs.hh:134
const instance_automaton * inst
The instance automaton.
Definition: opt_ndfs.hh:122
bool swarm_
shall use swarming?
Definition: opt_ndfs.hh:133
A simple wrapper for an automaton.
Definition: ec.hh:40
deadstore * deadstore_
The store for Deads states.
Definition: opt_ndfs.hh:119
int update_cpt_
count UPDATE calls
Definition: opt_ndfs.hh:127
Iterate over the successors of a state.
Definition: fasttgba_succ_iterator.hh:35
int memory_cost_
evaluates memory
Definition: opt_ndfs.hh:131
Definition: fasttgba_state.hh:76
unsigned int dfs_size_
keep dfs size
Definition: opt_ndfs.hh:124
Compute the SCCs of a TGBA.
Definition: opt_ndfs.hh:40
Definition: opt_ndfs.hh:89
int transitions_cpt_
count transitions
Definition: opt_ndfs.hh:130
This class represent a dead store. For now it's just a set but it can be combined with bitstate hasin...
Definition: deadstore.hh:41
int trivial_scc_
count trivial SCCs
Definition: opt_ndfs.hh:132
Definition: fasttgba_state.hh:88
color
The color for a new State.
Definition: opt_ndfs.hh:86
int states_cpt_
count states
Definition: opt_ndfs.hh:129
unsigned int max_dfs_size_
keep peack size
Definition: opt_ndfs.hh:126
seen_map H
the HashMap Live
Definition: opt_ndfs.hh:116