1. 18 Dec, 2015 3 commits
    • Alexandre Duret-Lutz's avatar
      acc_code: parse from the constructor · df1ef302
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh, spot/twa/acc.cc (parse_acc_code): Rename as...
      (acc_cond::acc_code): ... this, making it a lot easier to build
      acceptance conditions from strings.
      * NEWS: Mention the change.
      * spot/twaalgos/dtwasat.cc, spot/bin/randaut.cc, spot/tests/acc.cc:
      Adjust.
      * wrap/python/tests/acc_cond.ipynb, wrap/python/tests/accparse.ipynb,
      wrap/python/tests/accparse2.py: Simplify, but not completely to exercise
      all variants.
      * wrap/python/spot_impl.i: Make acc_code's constructor implicit.
      df1ef302
    • Alexandre Duret-Lutz's avatar
      acc_cond: allow ctor from acc_code only + bind unsat_mark() · d0b29051
      Alexandre Duret-Lutz authored
      * spot/twa/acc.hh: Here.
      * wrap/python/spot_impl.i: Adjust for the strange return type of
      unsat_mark().
      * wrap/python/tests/acc_cond.ipynb: Augment.
      d0b29051
    • Alexandre Duret-Lutz's avatar
      python: better binding for is_parity() · 15131e74
      Alexandre Duret-Lutz authored
      * wrap/python/spot_impl.i: Here.
      * wrap/python/tests/acc_cond.ipynb: Document it.
      * spot/twa/acc.cc (is_parity): Always initialize max.
      15131e74
  2. 17 Dec, 2015 1 commit
    • Alexandre Duret-Lutz's avatar
      acc_cond: rename is_tt/is_ff as is_t/is_f and add printer · 94cca9de
      Alexandre Duret-Lutz authored
      * spot/twa/acc.cc, spot/twa/acc.hh: Here.
      * spot/parseaut/parseaut.yy, spot/twa/acc.hh,
      spot/twaalgos/gtec/gtec.cc, spot/twaalgos/hoa.cc,
      spot/twaalgos/neverclaim.cc, spot/twaalgos/product.cc,
      spot/twaalgos/remfin.cc, spot/twaalgos/strength.cc: Adjust.
      * NEWS: Mention the changes.
      * wrap/python/spot_impl.i: Bind acc_cond the printer.
      * wrap/python/tests/acc_cond.ipynb: Add more examples.
      94cca9de
  3. 16 Dec, 2015 1 commit