|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.core.ASolverFactory<T>
public abstract class ASolverFactory<T extends ISolver>
A solver factory is responsible for providing prebuilt solvers to the end user.
Constructor Summary | |
---|---|
ASolverFactory()
|
Method Summary | |
---|---|
T |
createSolverByName(String solvername)
create a solver from its String name. the solvername Xxxx must map one of the newXxxx methods. |
abstract T |
defaultSolver()
To obtain the default solver of the library. |
abstract T |
lightSolver()
To obtain a solver that is suitable for solving many small instances of SAT problems. |
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 String[] solverNames()
createSolverByName(String)
public T createSolverByName(String solvername)
solvername
- the name of the solver
null
if the
solvername doesn't map one of the method of the factory.public abstract T defaultSolver()
lightSolver()
public abstract T lightSolver()
defaultSolver()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |