|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMySatSolver
public class MySatSolver
This is a template of the MySatSolver class that must be turned in. See RandomSearchSatSolver for sample code, and see SatSolver for further explanation.
Constructor Summary | |
---|---|
MySatSolver()
A constructor for this class. |
Method Summary | |
---|---|
java.lang.String |
author()
This method should simply return the "author" of this program as you would like it to appear on a class website. |
java.lang.String |
description()
This method should return a very brief (1-3 sentence) description of the algorithm and implementational improvements that are being used, appropriate for posting on the class website. |
boolean[] |
solve(Literal[][] cnf,
int num_symbols,
Timer timer)
This is the method for solving satifiability problems. |
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, int num_symbols, Timer timer)
solve
in interface SatSolver
cnf
- the given cnf, represented as an array of arrays of Literalsnum_symbols
- the number of distinct symbols in the cnftimer
- the given timer objectpublic java.lang.String author()
author
in interface SatSolver
public java.lang.String description()
description
in interface SatSolver
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |