22 #include <spot/misc/common.hh>
23 #include <spot/twa/fwd.hh>
87 SPOT_API twa_graph_ptr
91 SPOT_API twa_graph_ptr
108 SPOT_API twa_graph_ptr
110 bool keep_style =
false);
112 SPOT_API twa_graph_ptr
131 SPOT_API twa_graph_ptr
134 SPOT_API twa_graph_ptr
191 SPOT_API twa_graph_ptr
193 bool colored =
false,
bool layered =
false);
195 SPOT_API twa_graph_ptr
197 bool colored =
false,
bool layered =
false);
214 std::vector<int> piprime1;
215 std::vector<int> piprime2;
twa_graph_ptr change_parity(const const_twa_graph_ptr &aut, parity_kind kind, parity_style style)
Change the parity acceptance of an automaton.
parity_kind
Parity kind type.
Definition: parity.hh:36
parity_style
Parity style type.
Definition: parity.hh:49
twa_graph_ptr change_parity_here(twa_graph_ptr aut, parity_kind kind, parity_style style)
Parity kind type.
@ parity_kind_any
The new acceptance may change the kind.
Definition: parity.hh:44
@ parity_kind_min
The new acceptance will be a parity min.
Definition: parity.hh:40
@ parity_kind_same
The new acceptance will keep the kind.
Definition: parity.hh:42
@ parity_kind_max
The new acceptance will be a parity max.
Definition: parity.hh:38
Definition: automata.hh:27
twa_graph_ptr colorize_parity_here(twa_graph_ptr aut, bool keep_style=false)
Colorize an automaton with parity acceptance.
twa_graph_ptr reduce_parity(const const_twa_graph_ptr &aut, bool colored=false, bool layered=false)
Reduce the parity acceptance condition to use a minimal number of colors.
twa_graph_ptr cleanup_parity(const const_twa_graph_ptr &aut, bool keep_style=false)
Remove useless acceptance sets of an automaton with parity acceptance.
twa_graph_ptr reduce_parity_here(twa_graph_ptr aut, bool colored=false, bool layered=false)
Reduce the parity acceptance condition to use a minimal number of colors.
twa_graph_ptr cleanup_parity_here(twa_graph_ptr aut, bool keep_style=false)
Remove useless acceptance sets of an automaton with parity acceptance.
twa_graph_ptr colorize_parity(const const_twa_graph_ptr &aut, bool keep_style=false)
Colorize an automaton with parity acceptance.
@ parity_style_odd
The new acceptance will be a parity odd.
Definition: parity.hh:51
@ parity_style_even
The new acceptance will be a parity even.
Definition: parity.hh:53
@ parity_style_same
The new acceptance will keep the style.
Definition: parity.hh:55
@ parity_style_any
The new acceptance may change the style.
Definition: parity.hh:57
Internal data computed by the reduce_parity function.
Definition: parity.hh:211
bool parity_odd
Whether the input automaton is parity odd.
Definition: parity.hh:213
bool parity_max
Whether the input automaton is parity max.
Definition: parity.hh:212