22#include <spot/twaalgos/gtec/status.hh>
23#include <spot/twaalgos/emptiness.hh>
24#include <spot/twaalgos/emptiness_stats.hh>
117 SPOT_API emptiness_check_ptr
135 virtual emptiness_check_result_ptr
check()
override;
137 virtual std::ostream&
print_stats(std::ostream& os)
const override;
147 std::shared_ptr<const couvreur99_check_status>
result()
const;
150 std::shared_ptr<couvreur99_check_status> ecs_;
163 unsigned get_removed_components()
const;
164 unsigned get_vmsize()
const;
177 virtual emptiness_check_result_ptr
check()
override;
192 std::stack<acc_cond::mark_t> arc;
199 typedef std::list<successor> succ_queue;
202 succ_queue::iterator pos;
212 typedef std::list<todo_item> todo_list;
A version of spot::couvreur99_check that tries to visit known states first.
Definition: gtec.hh:172
bool group_
Whether successors should be grouped for states in the same SCC.
Definition: gtec.hh:218
virtual emptiness_check_result_ptr check() override
Check whether the automaton's language is empty.
An implementation of the Couvreur99 emptiness-check algorithm.
Definition: gtec.hh:128
bool poprem_
Whether to store the state to be removed.
Definition: gtec.hh:159
void remove_component(const state *start_delete)
Remove a strongly component from the hash.
std::shared_ptr< const couvreur99_check_status > result() const
Return the status of the emptiness-check.
virtual emptiness_check_result_ptr check() override
Check whether the automaton's language is empty.
virtual std::ostream & print_stats(std::ostream &os) const override
Print statistics, if any.
unsigned removed_components
Number of dead SCC removed by the algorithm.
Definition: gtec.hh:161
Emptiness-check statistics.
Definition: emptiness_stats.hh:57
Common interface to emptiness check algorithms.
Definition: emptiness.hh:141
Manage a map of options.
Definition: optionmap.hh:34
Abstract class for states.
Definition: twa.hh:47
emptiness_check_ptr couvreur99(const const_twa_ptr &a, option_map options=option_map())
Check whether the language of an automate is empty.
Definition: automata.hh:26
An acceptance mark.
Definition: acc.hh:84