21#include <spot/twaalgos/sccinfo.hh>
22#include <spot/misc/hash.hh>
62 class SPOT_API enumerate_cycles
68 state_info(
unsigned num)
69 : seen(
false), reach(
false), mark(
false), del(num)
82 std::vector<bool> del;
85 std::vector<unsigned> b;
89 const_twa_graph_ptr aut_;
91 std::vector<state_info> info_;
105 dfs_entry(
unsigned s) noexcept
110 typedef std::vector<dfs_entry> dfs_stack;
114 enumerate_cycles(
const scc_info& map);
115 virtual ~enumerate_cycles() {}
144 void push_state(
unsigned s);
147 void nocycle(
unsigned x,
unsigned y);
149 void unmark(
unsigned y);
virtual bool cycle_found(unsigned start)
Called whenever a cycle was found.
void run(unsigned scc)
Run in SCC scc, and call cycle_found() for any new elementary cycle found.
Compute an SCC map and gather assorted information.
Definition sccinfo.hh:449
@ U
until
Definition formula.hh:94
Definition automata.hh:26
Please direct any
question,
comment, or
bug report to the Spot mailing list at
spot@lrde.epita.fr.
Generated on for spot by
1.15.0