Mail Archive Home | sat4j-dev List | April 2006 Index
New feature in SAT4J: dot file generation
- Subject: New feature in SAT4J: dot file generation
- From: Daniel Le Berre <leberre@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 16:44:38 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:to:message-id:content-type:from:subject:date:x-mailer:sender; b=ggjYN6c8m36Cf/Kkogz2U7cINBxlSTPBI+xrwCExOu5nxrZwb2+LH1arfkhtW2r07z7uANDvrOaZGA9WM9eGwJIxHcv5e8MAzttjqwe2zrBizkbA81/38swipQ0lguN/J9REm6Ly4p/9B3JPqxq9YjMq46KOX9TGOSHuJpLMNPw=
Dear all,
I just included in CVS a new feature in SAT4J implemented by Laurent
Stemmer and Nizar Salhaji:
a graphical view of the search space explored by the SAT solver.
The generated dot file can be interpreted by Graphviz for instance:
http://www.graphviz.org/
Here is an example of tree developed for solving a satisfiable aim-50
instance with the default SAT solver.
The command line was:
java -jar sat4j-nightly.jar -d aim-50.dot -f test/benchs/aim/
aim-50-1_6-yes1-1.cnf.gz
Bleu circles denote decision nodes, green edges denote BCP and orange
edges denote forced variables.
Red rectangles denote conflicts while the green square denote that a
model has been found.
Let me know if you find that feature useful and if you have any idea
how to improve it.
As a side effect, I updated the launcher command line. It know uses
usual unix like syntax.
Cheers,
Daniel

Attachment:
aim-50.dot
Description: Binary data
- New feature in SAT4J: dot file generation,
Daniel Le Berre
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.