isdet: update prop_deterministic in count_nondet_states()
* spot/twaalgos/isdet.cc: Here. * bin/ltlcross.cc: Simplify. * NEWS: Update.
This commit is contained in:
parent
a2f0b22810
commit
fafb135c87
3 changed files with 12 additions and 17 deletions
|
|
@ -1008,12 +1008,8 @@ namespace
|
|||
problems += prob;
|
||||
|
||||
// If the automaton is deterministic, compute its complement
|
||||
// as well. Note that if we have computed statistics
|
||||
// already, there is no need to call is_deterministic()
|
||||
// again.
|
||||
if (!no_complement && pos[n]
|
||||
&& ((want_stats && !(*pstats)[n].nondeterministic)
|
||||
|| (!want_stats && is_deterministic(pos[n]))))
|
||||
// as well.
|
||||
if (!no_complement && pos[n] && is_deterministic(pos[n]))
|
||||
comp_pos[n] = dtwa_complement(pos[n]);
|
||||
}
|
||||
|
||||
|
|
@ -1048,12 +1044,8 @@ namespace
|
|||
problems += prob;
|
||||
|
||||
// If the automaton is deterministic, compute its
|
||||
// complement as well. Note that if we have computed
|
||||
// statistics already, there is no need to call
|
||||
// is_deterministic() again.
|
||||
if (!no_complement && neg[n]
|
||||
&& ((want_stats && !(*nstats)[n].nondeterministic)
|
||||
|| (!want_stats && is_deterministic(neg[n]))))
|
||||
// complement as well.
|
||||
if (!no_complement && neg[n] && is_deterministic(neg[n]))
|
||||
comp_neg[n] = dtwa_complement(neg[n]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue