spot  2.11.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
spot::emptiness_check_result Class Reference

The result of an emptiness check. More...

#include <spot/twaalgos/emptiness.hh>

Inheritance diagram for spot::emptiness_check_result:
Collaboration diagram for spot::emptiness_check_result:

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

const_twa_ptr a_
 The automaton. More...
 
option_map o_
 The options. More...
 

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.

Member Function Documentation

◆ accepting_run()

virtual twa_run_ptr 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).

Reimplemented in spot::couvreur99_check_result.

◆ automaton()

const const_twa_ptr& spot::emptiness_check_result::automaton ( ) const
inline

The automaton on which an accepting_run() was found.

◆ options()

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

Return the options parametrizing how the accepting run is computed.

◆ options_updated()

virtual void spot::emptiness_check_result::options_updated ( const option_map old)
protectedvirtual

Notify option updates.

◆ parse_options()

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

Modify the algorithm options.

◆ statistics()

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

Return statistics, if available.

Member Data Documentation

◆ a_

const_twa_ptr spot::emptiness_check_result::a_
protected

The automaton.

◆ o_

option_map spot::emptiness_check_result::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 Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1