spot 2.14.5
Loading...
Searching...
No Matches
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.
const const_twa_ptr & automaton () const
 The automaton on which an accepting_run() was found.
const option_mapoptions () const
 Return the options parameterizing 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_twa_ptr a_
 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.

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.

References a_.

◆ options()

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

Return the options parameterizing how the accepting run is computed.

References o_.

Referenced by parse_options().

◆ 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.

References 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.

Referenced by automaton().

◆ o_

option_map spot::emptiness_check_result::o_
protected

The options.

Referenced by 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 for spot by doxygen 1.15.0