improve some comments
* spot/twaalgos/complement.hh, spot/twaalgos/complement.cc: Here.
This commit is contained in:
parent
2274308cad
commit
e48506f548
2 changed files with 6 additions and 4 deletions
|
|
@ -515,7 +515,7 @@ namespace spot
|
||||||
twa_graph_ptr res = dualize(aut);
|
twa_graph_ptr res = dualize(aut);
|
||||||
// There are cases with "t" acceptance that get converted to
|
// There are cases with "t" acceptance that get converted to
|
||||||
// Büchi during completion, then dualized to co-Büchi, but the
|
// Büchi during completion, then dualized to co-Büchi, but the
|
||||||
// acceptance is still not used. To try to clean it up in this
|
// acceptance is still not used. Try to clean it up in this
|
||||||
// case.
|
// case.
|
||||||
if (aut->num_sets() == 0 ||
|
if (aut->num_sets() == 0 ||
|
||||||
// Also dualize removes sink states, but doesn't simplify
|
// Also dualize removes sink states, but doesn't simplify
|
||||||
|
|
@ -525,8 +525,9 @@ namespace spot
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
if (is_very_weak_automaton(aut))
|
if (is_very_weak_automaton(aut))
|
||||||
// removing alternation may need more acceptance sets than we support.
|
// Removing alternation may need more acceptance sets than Spot
|
||||||
// in this case res==nullptr and we try the other determinization.
|
// supports. When this happens res==nullptr and we fall back to
|
||||||
|
// determinization-based complementation.
|
||||||
if (twa_graph_ptr res = remove_alternation(dualize(aut), false,
|
if (twa_graph_ptr res = remove_alternation(dualize(aut), false,
|
||||||
aborter, false))
|
aborter, false))
|
||||||
return res;
|
return res;
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,8 @@ namespace spot
|
||||||
/// If an output_aborter is supplied, it is used to
|
/// If an output_aborter is supplied, it is used to
|
||||||
/// abort the construction of larger automata.
|
/// abort the construction of larger automata.
|
||||||
///
|
///
|
||||||
/// complement_semidet() is not yet used.
|
/// complement_semidet() is not yet used, as it is not always better
|
||||||
|
/// when the input is semi-deterministic.
|
||||||
SPOT_API twa_graph_ptr
|
SPOT_API twa_graph_ptr
|
||||||
complement(const const_twa_graph_ptr& aut,
|
complement(const const_twa_graph_ptr& aut,
|
||||||
const output_aborter* aborter = nullptr);
|
const output_aborter* aborter = nullptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue