#include <tgbaalgos/gtec/gtec.hh>
Inheritance diagram for spot::couvreur99_check_shy:
Public Types | |
typedef unsigned(unsigned_statistics::* | unsigned_fun )() const |
typedef std::map< const char *, unsigned_fun, char_ptr_less_than > | stats_map |
Public Member Functions | |
couvreur99_check_shy (const tgba *a, option_map o=option_map(), const numbered_state_heap_factory *nshf=numbered_state_heap_hash_map_factory::instance()) | |
virtual | ~couvreur99_check_shy () |
virtual emptiness_check_result * | check () |
Check whether the automaton's language is empty. | |
virtual std::ostream & | print_stats (std::ostream &os) const |
Print statistics, if any. | |
const couvreur99_check_status * | result () const |
Return the status of the emptiness-check. | |
const tgba * | automaton () const |
The automaton that this emptiness-check inspects. | |
const option_map & | options () const |
Return the options parametrizing how the emptiness check is realized. | |
const char * | parse_options (char *options) |
Modify the algorithm options. | |
virtual bool | safe () const |
Return false iff accepting_run() can return 0 for non-empty automata. | |
virtual const unsigned_statistics * | statistics () const |
Return statistics, if available. | |
virtual void | options_updated (const option_map &old) |
Notify option updates. | |
void | set_states (unsigned n) |
void | inc_states () |
void | inc_transitions () |
void | inc_depth (unsigned n=1) |
void | dec_depth (unsigned n=1) |
unsigned | states () const |
unsigned | transitions () const |
unsigned | max_depth () const |
unsigned | depth () const |
unsigned | get (const char *str) const |
Public Attributes | |
stats_map | stats |
Protected Types | |
typedef std::list< successor > | succ_queue |
typedef std::list< todo_item > | todo_list |
Protected Member Functions | |
void | clear_todo () |
virtual int * | find_state (const state *s) |
find the SCC number of a unprocessed state. | |
void | remove_component (const state *start_delete) |
Remove a strongly component from the hash. | |
Protected Attributes | |
std::stack< bdd > | arc |
int | num |
todo_list | todo |
bool | group_ |
couvreur99_check_status * | ecs_ |
bool | poprem_ |
Whether to store the state to be removed. | |
const tgba * | a_ |
The automaton. | |
option_map | o_ |
The options. | |
Classes | |
struct | successor |
struct | todo_item |
See the documentation for spot::couvreur99.
|
|
|
|
|
|
|
|
|
|
|
|
|
The automaton that this emptiness-check inspects.
|
|
Check whether the automaton's language is empty.
Reimplemented from spot::couvreur99_check. |
|
|
|
|
|
|
|
find the SCC number of a unprocessed state. Sometimes we want to modify some of the above structures when looking up a new state. This happens for instance when find() must perform inclusion checking and add new states to process to TODO during this step. (Because TODO must be known, sub-classing spot::numbered_state_heap is not enough.) Then overriding this method is the way to go. |
|
|
|
|
|
|
|
|
|
|
|
Return the options parametrizing how the emptiness check is realized.
|
|
Notify option updates.
|
|
Modify the algorithm options.
|
|
Print statistics, if any.
Reimplemented from spot::emptiness_check. |
|
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. |
|
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. |
|
Return false iff accepting_run() can return 0 for non-empty automata.
|
|
|
|
|
|
Return statistics, if available.
|
|
|
|
The automaton.
|
|
|
|
|
|
|
|
|
|
The options.
|
|
Whether to store the state to be removed.
|
|
|
|
|