|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sat4j.core.ASolverFactory<ISolver>
org.sat4j.csp.SolverFactory
public class SolverFactory
User friendly access to pre-constructed solvers.
Method Summary | ||
---|---|---|
ISolver |
defaultSolver()
To obtain the default solver of the library. |
|
static SolverFactory |
instance()
Access to the single instance of the factory. |
|
ISolver |
lightSolver()
To obtain a solver that is suitable for solving many small instances of SAT problems. |
|
static ISolver |
newDefault()
Default solver of the SolverFactory. |
|
static ISolver |
newDimacsOutput()
|
|
static ISolver |
newLight()
Small footprint SAT solver. |
|
static
|
newMiniSAT(DataStructureFactory dsf)
|
Methods inherited from class org.sat4j.core.ASolverFactory |
---|
createSolverByName, solverNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SolverFactory instance()
public static <L extends ILits> Solver<DataStructureFactory> newMiniSAT(DataStructureFactory dsf)
dsf
- the data structure used for representing clauses and lits
public static ISolver newDefault()
the same method, polymorphic, to be called from an
instance of ASolverFactory.
public ISolver defaultSolver()
ASolverFactory
defaultSolver
in class ASolverFactory<ISolver>
ASolverFactory.lightSolver()
public static ISolver newLight()
the same method, polymorphic, to be called from an
instance of ASolverFactory.
public ISolver lightSolver()
ASolverFactory
lightSolver
in class ASolverFactory<ISolver>
ASolverFactory.defaultSolver()
public static ISolver newDimacsOutput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |