public class Minimal4InclusionModel extends AbstractMinimalModel
ISolver.addClause(IVecInt),
Serialized FormmodelListener, pLiterals| Constructor and Description |
|---|
Minimal4InclusionModel(ISolver solver) |
Minimal4InclusionModel(ISolver solver,
IVecInt p) |
Minimal4InclusionModel(ISolver solver,
IVecInt p,
SolutionFoundListener modelListener) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
model()
Provide a model (if any) for a satisfiable formula.
|
int[] |
modelWithInternalVariables()
That method is designed to be used to retrieve the real model of the
current set of constraints, i.e. to provide the truth value of boolean
variables used internally in the solver (for encoding purposes for
instance).
|
negativeLiterals, positiveLiteralsaddAllClauses, addAtLeast, addAtMost, addBlockingClause, addClause, addExactly, clearDecorated, clearLearntClauses, decorated, expireTimeout, findModel, findModel, getLogPrefix, getSearchListener, getSolvingEngine, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, isSolverKeptHot, isVerbose, model, nConstraints, newVar, newVar, nextFreeVarId, nVars, primeImplicant, primeImplicant, printInfos, printInfos, printStat, printStat, printStat, realNumberOfVariables, registerLiteral, removeConstr, removeSubsumedConstr, reset, setDBSimplificationAllowed, setExpectedNumberOfClauses, setKeepSolverHot, setLogPrefix, setSearchListener, setTimeout, setTimeoutMs, setTimeoutOnConflicts, setUnitClauseProvider, setVerbose, toString, toString, unsatExplanationpublic Minimal4InclusionModel(ISolver solver, IVecInt p, SolutionFoundListener modelListener)
solver - p - the set of literals on which the minimality for inclusion is
computed.modelListener - an object to be notified when a new model is found.public Minimal4InclusionModel(ISolver solver, IVecInt p)
solver - p - the set of literals on which the minimality for inclusion is
computed.public Minimal4InclusionModel(ISolver solver)
solver - public int[] model()
IProblemmodel in interface IProblemmodel in class SolverDecorator<ISolver>IProblem.isSatisfiable(),
IProblem.isSatisfiable(IVecInt)public int[] modelWithInternalVariables()
ISolvermodelWithInternalVariables in interface ISolvermodelWithInternalVariables in class SolverDecorator<ISolver>IProblem.model(),
ModelIteratorCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.