A version of spot::couvreur99_check that tries to visit known states first.
More...
#include <spot/twaalgos/gtec/gtec.hh>
|
| struct | successor |
| | A successor state with its associated acceptance marks, used in the shy Couvreur check. More...
|
| |
| struct | todo_item |
| | DFS stack item holding a state and its queue of unprocessed successors. More...
|
| |
|
| void | clear_todo () |
| | Clear the DFS stack.
|
| |
| void | remove_component (const state *start_delete) |
| | Remove a strongly component from the hash.
|
| |
| unsigned | get_removed_components () const |
| | Return the number of dead SCCs removed by the algorithm.
|
| |
| unsigned | get_vmsize () const |
| | Return the virtual memory size used by the process (in kB).
|
| |
|
| std::stack< acc_cond::mark_t > | arc |
| | Stack of inter-SCC acceptance marks.
|
| |
| int | num |
| | Counter of visited nodes (DFS order).
|
| |
| succ_queue::iterator | pos |
| | Iterator into current successor queue.
|
| |
| todo_list | todo |
| | The DFS stack.
|
| |
| bool | group_ |
| | Whether successors should be grouped for states in the same SCC.
|
| |
| bool | group2_ |
| | If set, reprocess successors of merged SCCs (implies group_).
|
| |
| std::shared_ptr< couvreur99_check_status > | ecs_ |
| | Shared status object holding the DFS data structures.
|
| |
| bool | poprem_ |
| | Whether to store the state to be removed.
|
| |
| unsigned | removed_components |
| | Number of dead SCC removed by the algorithm.
|
| |
| const_twa_ptr | a_ |
| | The automaton.
|
| |
| option_map | o_ |
| | The options.
|
| |
A version of spot::couvreur99_check that tries to visit known states first.
See the documentation for spot::couvreur99.
◆ stats_map
Map from statistic names to getter function pointers.
◆ succ_queue
Queue type for unprocessed successors of a state.
◆ todo_list
List type for the DFS stack.
◆ unsigned_fun
| typedef unsigned(unsigned_statistics::* spot::unsigned_statistics::unsigned_fun) () const |
|
inherited |
Function pointer type for unsigned statistics getters.
◆ couvreur99_check_shy()
Construct the shy variant for the given automaton and options.
◆ automaton()
The automaton that this emptiness-check inspects.
◆ check()
◆ clear_todo()
| void spot::couvreur99_check_shy::clear_todo |
( |
| ) |
|
|
protected |
◆ dec_depth()
| void spot::ec_statistics::dec_depth |
( |
unsigned |
n = 1 | ) |
|
|
inlineinherited |
Decrease the current DFS depth by n.
◆ depth()
| unsigned spot::ec_statistics::depth |
( |
| ) |
const |
|
inlineinherited |
Return the current DFS depth.
◆ emptiness_check_statistics()
| virtual const ec_statistics * spot::emptiness_check::emptiness_check_statistics |
( |
| ) |
const |
|
virtualinherited |
Return emptiness check statistics, if available.
◆ get()
| unsigned spot::unsigned_statistics::get |
( |
const char * |
str | ) |
const |
|
inlineinherited |
◆ get_removed_components()
| unsigned spot::couvreur99_check::get_removed_components |
( |
| ) |
const |
|
protectedinherited |
Return the number of dead SCCs removed by the algorithm.
◆ get_vmsize()
| unsigned spot::couvreur99_check::get_vmsize |
( |
| ) |
const |
|
protectedinherited |
Return the virtual memory size used by the process (in kB).
◆ inc_depth()
| void spot::ec_statistics::inc_depth |
( |
unsigned |
n = 1 | ) |
|
|
inlineinherited |
Increase the current DFS depth by n.
◆ inc_states()
| void spot::ec_statistics::inc_states |
( |
| ) |
|
|
inlineinherited |
Increment the number of visited states.
◆ inc_transitions()
| void spot::ec_statistics::inc_transitions |
( |
| ) |
|
|
inlineinherited |
Increment the number of visited transitions.
◆ max_depth()
| unsigned spot::ec_statistics::max_depth |
( |
| ) |
const |
|
inlineinherited |
Return the maximum DFS depth reached.
◆ options()
| const option_map & spot::emptiness_check::options |
( |
| ) |
const |
|
inlineinherited |
Return the options parameterizing how the emptiness check is realized.
◆ options_updated()
| virtual void spot::emptiness_check::options_updated |
( |
const option_map & |
old | ) |
|
|
virtualinherited |
◆ parse_options()
| const char * spot::emptiness_check::parse_options |
( |
char * |
options | ) |
|
|
inherited |
Modify the algorithm options.
◆ print_stats()
| virtual std::ostream & spot::couvreur99_check::print_stats |
( |
std::ostream & |
os | ) |
const |
|
overridevirtualinherited |
◆ remove_component()
| void spot::couvreur99_check::remove_component |
( |
const state * |
start_delete | ) |
|
|
protectedinherited |
Remove a strongly component from the hash.
This function remove all accessible state from a given state. In other words, it removes the strongly connected component that contains this state.
◆ result()
Return the status of the emptiness-check.
When check() succeed, the status should be passed along to spot::counter_example.
This status should not be deleted, it is a pointer to a member of this class that will be deleted when the couvreur99 object is deleted.
◆ safe()
| virtual bool spot::emptiness_check::safe |
( |
| ) |
const |
|
virtualinherited |
Return false iff accepting_run() can return 0 for non-empty automata.
◆ set_states()
| void spot::ec_statistics::set_states |
( |
unsigned |
n | ) |
|
|
inlineinherited |
Set the number of visited states.
◆ states()
| unsigned spot::ec_statistics::states |
( |
| ) |
const |
|
inlineinherited |
Return the number of visited states.
◆ statistics()
Return statistics, if available.
◆ transitions()
| unsigned spot::ec_statistics::transitions |
( |
| ) |
const |
|
inlineinherited |
Return the number of visited transitions.
◆ a_
◆ arc
Stack of inter-SCC acceptance marks.
◆ ecs_
Shared status object holding the DFS data structures.
◆ group2_
| bool spot::couvreur99_check_shy::group2_ |
|
protected |
If set, reprocess successors of merged SCCs (implies group_).
◆ group_
| bool spot::couvreur99_check_shy::group_ |
|
protected |
Whether successors should be grouped for states in the same SCC.
◆ num
| int spot::couvreur99_check_shy::num |
|
protected |
Counter of visited nodes (DFS order).
◆ o_
◆ poprem_
| bool spot::couvreur99_check::poprem_ |
|
protectedinherited |
Whether to store the state to be removed.
◆ pos
| succ_queue::iterator spot::couvreur99_check_shy::pos |
|
protected |
Iterator into current successor queue.
◆ removed_components
| unsigned spot::couvreur99_check::removed_components |
|
protectedinherited |
Number of dead SCC removed by the algorithm.
◆ stats
◆ todo
The documentation for this class was generated from the following file: