acc: add a to_cnf() function

* src/tgba/acc.cc, src/tgba/acc.hh (to_cnf, is_cnf): New functions.
* src/bin/autfilt.cc: Add a --cnf-acceptance option.
* src/tgbatest/acc2.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-05 09:13:08 +01:00
parent b71e6addd2
commit a0ac8dc512
4 changed files with 143 additions and 1 deletions

View file

@ -635,8 +635,10 @@ namespace spot
}
bool is_dnf() const;
bool is_cnf() const;
acc_code to_dnf() const;
acc_code to_cnf() const;
acc_code complement() const;