|
spot 2.16
|
Enumerations | |
| enum | spot::gen::aut_pattern_id { AUT_BEGIN = 256 , spot::gen::AUT_KS_NCA = AUT_BEGIN , spot::gen::AUT_L_NBA , spot::gen::AUT_L_DSA , spot::gen::AUT_M_NBA , spot::gen::AUT_CYCLIST_TRACE_NBA , spot::gen::AUT_CYCLIST_PROOF_DBA , spot::gen::AUT_CYCLE_LOG_NBA , spot::gen::AUT_CYCLE_ONEHOT_NBA , spot::gen::AUT_EL_EMPTY , AUT_END } |
| Identifiers for automaton patterns. More... | |
Functions | |
| twa_graph_ptr | spot::gen::aut_pattern (aut_pattern_id pattern, int n, spot::bdd_dict_ptr dict=make_bdd_dict()) |
| generate an automaton from a known pattern | |
| twa_graph_ptr | spot::gen::aut_pattern (aut_pattern_id pattern, int n, int m, spot::bdd_dict_ptr dict=make_bdd_dict()) |
| generate an automaton from a two-parameter pattern | |
| const char * | spot::gen::aut_pattern_name (aut_pattern_id pattern) |
| convert an aut_pattern_it value into a name | |
| int | spot::gen::aut_pattern_argc (aut_pattern_id pattern) |
| return the number of arguments taken by a pattern | |
| int | spot::gen::aut_pattern_max (aut_pattern_id pattern) |
| return the maximum useful value for a pattern | |
#include <spot/gen/automata.hh>
Identifiers for automaton patterns.
| twa_graph_ptr spot::gen::aut_pattern | ( | aut_pattern_id | pattern, |
| int | n, | ||
| int | m, | ||
| spot::bdd_dict_ptr | dict = make_bdd_dict() |
||
| ) |
#include <spot/gen/automata.hh>
generate an automaton from a two-parameter pattern
Like aut_pattern(pattern, n, dict) but for patterns that take two integer arguments. Use aut_pattern_argc() to check whether a pattern takes one or two arguments.
| twa_graph_ptr spot::gen::aut_pattern | ( | aut_pattern_id | pattern, |
| int | n, | ||
| spot::bdd_dict_ptr | dict = make_bdd_dict() |
||
| ) |
#include <spot/gen/automata.hh>
generate an automaton from a known pattern
The pattern is specified using one value from the aut_pattern_id enum. See the man page of the genaut binary for a description of those patterns, and bibliographic references.
In case you want to combine this automaton with other automata, pass the bdd_dict to use to make sure that all share the same.
| int spot::gen::aut_pattern_argc | ( | aut_pattern_id | pattern | ) |
#include <spot/gen/automata.hh>
return the number of arguments taken by a pattern
Returns 1 for single-parameter patterns, 2 for two-parameter patterns.
| int spot::gen::aut_pattern_max | ( | aut_pattern_id | pattern | ) |
#include <spot/gen/automata.hh>
return the maximum useful value for a pattern
Returns 0 when the pattern has no obvious maximum (the user should always supply an explicit range).
| const char * spot::gen::aut_pattern_name | ( | aut_pattern_id | pattern | ) |
#include <spot/gen/automata.hh>
convert an aut_pattern_it value into a name
The returned name is suitable to be used as an option key for the genaut binary.
1.9.8