The result of an emptiness check. More...
#include <tgbaalgos/emptiness.hh>
Public Member Functions | |
emptiness_check_result (const tgba *a, option_map o=option_map()) | |
virtual | ~emptiness_check_result () |
virtual tgba_run * | accepting_run () |
Return a run accepted by the automata passed to the emptiness check. | |
const tgba * | automaton () const |
The automaton on which an accepting_run() was found. | |
const option_map & | options () const |
Return the options parametrizing how the accepting run is computed. | |
const char * | parse_options (char *options) |
Modify the algorithm options. | |
virtual const unsigned_statistics * | statistics () const |
Return statistics, if available. | |
Protected Member Functions | |
virtual void | options_updated (const option_map &old) |
Notify option updates. | |
Protected Attributes | |
const tgba * | a_ |
The automaton. | |
option_map | o_ |
The options. |
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.
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] |
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.
const tgba* spot::emptiness_check_result::a_ [protected] |
The automaton.
Referenced by automaton().
option_map spot::emptiness_check_result::o_ [protected] |
The options.
Referenced by options().