Public Member Functions | Protected Member Functions | Protected Attributes

spot::emptiness_check_result Class Reference
[Emptiness-checks]

The result of an emptiness check. More...

#include <tgbaalgos/emptiness.hh>

Inheritance diagram for spot::emptiness_check_result:
Inheritance graph
[legend]
Collaboration diagram for spot::emptiness_check_result:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 emptiness_check_result (const tgba *a, option_map o=option_map())
virtual ~emptiness_check_result ()
virtual tgba_runaccepting_run ()
 Return a run accepted by the automata passed to the emptiness check.
const tgbaautomaton () const
 The automaton on which an accepting_run() was found.
const option_mapoptions () const
 Return the options parametrizing how the accepting run is computed.
const char * parse_options (char *options)
 Modify the algorithm options.
virtual const unsigned_statisticsstatistics () const
 Return statistics, if available.

Protected Member Functions

virtual void options_updated (const option_map &old)
 Notify option updates.

Protected Attributes

const tgbaa_
 The automaton.
option_map o_
 The options.

Detailed Description

The result of an emptiness check.

Instances of these class should not last longer than the instances of emptiness_check that produced them as they may reference data internal to the check.


Constructor & Destructor Documentation

spot::emptiness_check_result::emptiness_check_result ( const tgba a,
option_map  o = option_map() 
) [inline]
virtual spot::emptiness_check_result::~emptiness_check_result (  )  [inline, virtual]

Member Function Documentation

virtual tgba_run* spot::emptiness_check_result::accepting_run (  )  [virtual]

Return a run accepted by the automata passed to the emptiness check.

This method might actually compute the acceptance run. (Not all emptiness check algorithms actually produce a counter-example as a side-effect of checking emptiness, some need some post-processing.)

This can also return 0 if the emptiness check algorithm cannot produce a counter example (that does not mean there is no counter-example; the mere existence of an instance of this class asserts the existence of a counter-example).

const tgba* spot::emptiness_check_result::automaton (  )  const [inline]

The automaton on which an accepting_run() was found.

References a_.

const option_map& spot::emptiness_check_result::options (  )  const [inline]

Return the options parametrizing how the accepting run is computed.

References o_.

virtual void spot::emptiness_check_result::options_updated ( const option_map old  )  [protected, virtual]

Notify option updates.

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

Modify the algorithm options.

virtual const unsigned_statistics* spot::emptiness_check_result::statistics (  )  const [virtual]

Return statistics, if available.


Member Data Documentation

The automaton.

Referenced by automaton().

The options.

Referenced by options().


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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Feb 7 2011 14:29:31 for spot by doxygen 1.7.1