Class SatSolverExample
java.lang.Object
org.tweetyproject.logics.pl.examples.SatSolverExample
Example code illustrating the use of external SAT solvers such as Lingeling
and CaDicaL, and related utilities. Most other modern SAT solvers that use the
Dimacs format can be used the same way as the solvers in this example by
providing the path to the solver's binary.
Note: You need to download the respective solvers and replace the paths to their binaries in the example, otherwise it won't run. See
Note: You need to download the respective solvers and replace the paths to their binaries in the example, otherwise it won't run. See
CmdLineSatSolver
for download links.- Author:
- Matthias Thimm, Anna Gessler
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SatSolverExample
public SatSolverExample()Default Constructor
-
-
Method Details
-
main
main- Parameters:
args
- arguments- Throws:
ParserException
- ParserExceptionIOException
- IOException
-