|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMySatSolver
This is a dummy version of MySatSolver that simply generates random models and returns the best one when time runs out. You can use this class as a template for your own.
Constructor Summary | |
MySatSolver()
A constructor for this class. |
Method Summary | |
boolean[] |
solve(Literal[][] cnf,
Timer timer)
This dummy routine attempts to solve the satisfaction problem by trying random models until time runs out and returning the best one. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MySatSolver()
Method Detail |
public boolean[] solve(Literal[][] cnf, Timer timer)
solve
in interface SatSolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |