- java.lang.Object
-
- org.logicng.configurations.Configuration
-
- org.logicng.solvers.sat.MiniSatConfig
-
public final class MiniSatConfig extends Configuration
The configuration object for a MiniSAT-style SAT solver.- Since:
- 1.0
- Version:
- 2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMiniSatConfig.BuilderThe builder for a MiniSAT configuration.static classMiniSatConfig.ClauseMinimizationThe different methods for clause minimization.static classMiniSatConfig.CNFMethodThe different methods for generating a CNF for a formula to put on the solver.
-
Field Summary
-
Fields inherited from class org.logicng.configurations.Configuration
type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MiniSatConfig.Builderbuilder()Returns a new builder for the configuration.MiniSatConfig.CNFMethodgetCnfMethod()Returns the CNF method which should be used.booleanincremental()Returns whether the solver is incremental or not.booleaninitialPhase()Returns the initial phase of the solver.booleanisAuxiliaryVariablesInModels()Returns whether auxiliary Variables should be included in the model or not.booleanproofGeneration()Returns whether proof generation should be performed or not.StringtoString()-
Methods inherited from class org.logicng.configurations.Configuration
type
-
-
-
-
Method Detail
-
builder
public static MiniSatConfig.Builder builder()
Returns a new builder for the configuration.- Returns:
- the builder
-
incremental
public boolean incremental()
Returns whether the solver is incremental or not.- Returns:
trueif the solver is incremental,falseotherwise
-
initialPhase
public boolean initialPhase()
Returns the initial phase of the solver.- Returns:
- the initial phase of the solver
-
proofGeneration
public boolean proofGeneration()
Returns whether proof generation should be performed or not.- Returns:
- whether proof generation should be performed or not
-
getCnfMethod
public MiniSatConfig.CNFMethod getCnfMethod()
Returns the CNF method which should be used.- Returns:
- the CNF method
-
isAuxiliaryVariablesInModels
public boolean isAuxiliaryVariablesInModels()
Returns whether auxiliary Variables should be included in the model or not.- Returns:
- whether auxiliary Variables should be included in the model or not
-
-