spot  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
spot::emptiness_check Class Referenceabstract

Common interface to emptiness check algorithms. More...

#include <tgbaalgos/emptiness.hh>

Inheritance diagram for spot::emptiness_check:
Inheritance graph
Collaboration diagram for spot::emptiness_check:
Collaboration graph

Public Member Functions

 emptiness_check (const tgba *a, option_map o=option_map())
 
const tgbaautomaton () const
 The automaton that this emptiness-check inspects. More...
 
const option_mapoptions () const
 Return the options parametrizing how the emptiness check is realized. More...
 
const char * parse_options (char *options)
 Modify the algorithm options. More...
 
virtual bool safe () const
 Return false iff accepting_run() can return 0 for non-empty automata. More...
 
virtual emptiness_check_resultcheck ()=0
 Check whether the automaton contain an accepting run. More...
 
virtual const unsigned_statisticsstatistics () const
 Return statistics, if available. More...
 
virtual std::ostream & print_stats (std::ostream &os) const
 Print statistics, if any. More...
 
virtual void options_updated (const option_map &old)
 Notify option updates. More...
 

Protected Attributes

const tgbaa_
 The automaton. More...
 
option_map o_
 The options. More...
 

Detailed Description

Common interface to emptiness check algorithms.

Member Function Documentation

const tgba* spot::emptiness_check::automaton ( ) const
inline

The automaton that this emptiness-check inspects.

virtual emptiness_check_result* spot::emptiness_check::check ( )
pure virtual

Check whether the automaton contain an accepting run.

Return 0 if the automaton accepts no run. Return an instance of emptiness_check_result otherwise. This instance might allow to obtain one sample acceptance run. The result has to be destroyed before the emptiness_check instance that generated it.

Some emptiness_check algorithms may allow check() to be called several time, but generally you should not assume that.

Some emptiness_check algorithms, especially those using bit state hashing may return 0 even if the automaton is not empty.

See Also
safe()

Implemented in spot::couvreur99_check_shy, and spot::couvreur99_check.

const option_map& spot::emptiness_check::options ( ) const
inline

Return the options parametrizing how the emptiness check is realized.

virtual void spot::emptiness_check::options_updated ( const option_map old)
virtual

Notify option updates.

const char* spot::emptiness_check::parse_options ( char *  options)

Modify the algorithm options.

virtual std::ostream& spot::emptiness_check::print_stats ( std::ostream &  os) const
virtual

Print statistics, if any.

Reimplemented in spot::couvreur99_check.

virtual bool spot::emptiness_check::safe ( ) const
virtual

Return false iff accepting_run() can return 0 for non-empty automata.

virtual const unsigned_statistics* spot::emptiness_check::statistics ( ) const
virtual

Return statistics, if available.

Member Data Documentation

const tgba* spot::emptiness_check::a_
protected

The automaton.

option_map spot::emptiness_check::o_
protected

The options.


The documentation for this class was generated from the following file:

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sat Dec 6 2014 12:28:44 for spot by doxygen 1.8.4