|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.core.ASolverFactory<ISolver> org.sat4j.csp.SolverFactory
public class SolverFactory
User friendly access to pre-constructed solvers.
Method Summary | ||
---|---|---|
ISolver |
defaultSolver()
|
|
static SolverFactory |
instance()
Access to the single instance of the factory. |
|
ISolver |
lightSolver()
|
|
static ISolver |
newDefault()
Default solver of the SolverFactory. |
|
static ISolver |
newDimacsOutput()
|
|
static ISolver |
newLight()
Small footprint SAT solver. |
|
static
|
newMiniSAT(DataStructureFactory<L> 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<L,DataStructureFactory<L>> newMiniSAT(DataStructureFactory<L> 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()
defaultSolver
in class ASolverFactory<ISolver>
public static ISolver newLight()
the same method, polymorphic, to be called from an
instance of ASolverFactory.
public ISolver lightSolver()
lightSolver
in class ASolverFactory<ISolver>
public static ISolver newDimacsOutput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |