|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.tools.SolverDecorator
org.sat4j.tools.SATRaceDecorator
public class SATRaceDecorator
| Constructor Summary | |
|---|---|
SATRaceDecorator(ISolver solver)
|
|
| Method Summary | |
|---|---|
boolean |
isSatisfiable()
Check the satisfiability of the set of constraints contained inside the solver. |
int |
newVar(int howmany)
Create howmany variables in the solver (and thus in the
vocabulary). |
void |
setExpectedNumberOfClauses(int nb)
To inform the solver of the expected number of clauses to read. |
| Methods inherited from class org.sat4j.tools.SolverDecorator |
|---|
addAllClauses, addAtLeast, addAtMost, addClause, addPseudoBoolean, decorated, getStat, getTimeout, isSatisfiable, model, model, nConstraints, newVar, nVars, printStat, printStat, removeConstr, reset, setTimeout, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SATRaceDecorator(ISolver solver)
| Method Detail |
|---|
public int newVar(int howmany)
ISolverhowmany variables in the solver (and thus in the
vocabulary).
newVar in interface ISolvernewVar in class SolverDecoratorhowmany - number of variables to create
public void setExpectedNumberOfClauses(int nb)
ISolverp cnf
line is read in dimacs formatted input file.
setExpectedNumberOfClauses in interface ISolversetExpectedNumberOfClauses in class SolverDecoratornb - the expected number of clauses.
public boolean isSatisfiable()
throws TimeoutException
IProblem
isSatisfiable in interface IProblemisSatisfiable in class SolverDecoratorTimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||