1. 07 Feb, 2014 2 commits
    • Alexandre Duret-Lutz's avatar
      sat: factor the creation of temporary files · 9c98975c
      Alexandre Duret-Lutz authored
      * src/misc/satsolver.hh, src/misc/satsolver.cc: Present
      the SAT solver as an object with a stream interface, to
      prepare for a better implementation.
      * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc:
      Adjust to the new interface, removing all the handling
      of temporary files.
      * src/tgbatest/readsat.cc: Adjust.
      9c98975c
    • Alexandre Duret-Lutz's avatar
      Call glucose with -verb=0. · e5874ee4
      Alexandre Duret-Lutz authored
      * src/misc/satsolver.cc: Call glucose with -verb=0.
      * src/bin/man/spot-x.x: Document it.
      e5874ee4
  2. 16 Sep, 2013 1 commit
  3. 08 Sep, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      sat: generalize the code for reading the solution · 90c106f8
      Alexandre Duret-Lutz authored
      * src/misc/satsolver.cc, src/misc/satsolver.hh (satsolver_get_solution):
      New function, that accepts a solution split on multiple 'v ' lines.
      * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc (get_solution):
      Remove, and adjust existing code to use satsolver_get_solution().
      * src/tgbatest/readsat.cc, src/tgbatest/readsat.test: New files.
      * src/tgbatest/Makefile.am: Add them.
      * src/bin/man/spot-x.x: Mention the SAT competition rules for
      the expected input/output format.
      90c106f8
  4. 26 Aug, 2013 1 commit
    • Alexandre Duret-Lutz's avatar
      satsolver: new function · 3b10bb3b
      Alexandre Duret-Lutz authored
      Uses the value of the SPOT_SATSOLVER environment variable
      to decide how to call the SAT solver.
      
      * src/misc/satsolver.cc, src/misc/satsolver.hh: New files.
      * src/misc/Makefile.am: Add them.
      * src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Use satsolver().
      3b10bb3b