|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.core.ASolverFactory
public abstract class ASolverFactory
A solver factory is responsible to provide prebuilt solvers to the end user.
| Constructor Summary | |
|---|---|
ASolverFactory()
|
|
| Method Summary | |
|---|---|
ISolver |
createSolverByName(java.lang.String solvername)
create a solver from its String name. the solvername Xxxx must map one of the newXxxx methods. |
abstract ISolver |
defaultSolver()
To obtain the default solver of the library. |
abstract ISolver |
lightSolver()
To obtain a solver that is suitable for solving many small instances of SAT problems. |
java.lang.String[] |
solverNames()
This methods returns names of solvers to be used with the method getSolverByName(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASolverFactory()
| Method Detail |
|---|
public java.lang.String[] solverNames()
createSolverByName(String)public ISolver createSolverByName(java.lang.String solvername)
solvername - the name of the solver
null if the
solvername doesn't map one of the method of the factory.public abstract ISolver defaultSolver()
lightSolver()public abstract ISolver lightSolver()
defaultSolver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||