Commit f43fce1c authored by leberre's avatar leberre

Added a way to deactivate prime implicant computation.

git-svn-id: svn+ssh://svn.forge.ow2.org/svnroot/sat4j/maven/trunk@1739 ba638df5-4473-46d1-82f8-c3ae2a17a6e1
parent 2c32ed3e
......@@ -91,6 +91,8 @@ public class GenericOptLauncher extends AbstractLauncher {
"Keep heuristics accross calls to the SAT solver");
options.addOption("e", "equivalence", false,
"Use an equivalence instead of an implication for the selector variables");
options.addOption("pi", "prime-implicant", false,
"Use prime implicants instead of models for evaluating the objective function");
options.addOption("n", "no solution line", false,
"Do not display a solution line (useful if the solution is large)");
options.addOption("l", "lower bounding", false,
......@@ -180,7 +182,7 @@ public class GenericOptLauncher extends AbstractLauncher {
asolver = this.wmsd;
}else{
asolver = new PseudoOptDecorator(this.wmsd, false,
false);
cmd.hasOption("pi"));
}
}
if (cmd.hasOption("i")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment