org.sat4j.pb.core
Class PBSolverCP<L extends ILits>
java.lang.Object
org.sat4j.minisat.core.Solver<L,PBDataStructureFactory<L>>
org.sat4j.pb.core.PBSolver<L>
org.sat4j.pb.core.PBSolverCP<L>
- All Implemented Interfaces:
- java.io.Serializable, Learner, UnitPropagationListener, IPBSolver, IProblem, ISolver
- Direct Known Subclasses:
- PBSolverClause, PBSolverMerging, PBSolverWithImpliedClause
public class PBSolverCP<L extends ILits>
- extends PBSolver<L>
- Author:
- parrain To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
- See Also:
- Serialized Form
Constructor Summary |
PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
IOrder<L> order)
|
PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
SearchParams params,
IOrder<L> order)
|
PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
SearchParams params,
IOrder<L> order,
RestartStrategy restarter)
|
Methods inherited from class org.sat4j.minisat.core.Solver |
addAllClauses, addAtLeast, addAtMost, addClause, addConstr, assume, cancelUntil, claBumpActivity, clearLearntClauses, decayActivities, decisionLevel, dimacs2internal, enqueue, enqueue, expireTimeout, findModel, findModel, getDSFactory, getIthConstr, getOrder, getOutLearnt, getStat, getStats, getTimeout, getTimeoutMs, getVocabulary, isDBSimplificationAllowed, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, learn, model, model, nAssigns, nConstraints, newVar, newVar, nVars, printInfos, printLearntClausesInfos, printStat, printStat, propagate, reduceDB, reduceDB, removeConstr, reset, setDataStructureFactory, setDBSimplificationAllowed, setExpectedNumberOfClauses, setOrder, setRestartStrategy, setSearchListener, setSearchParams, setSimplifier, setSimplifier, setTimeout, setTimeoutMs, setTimeoutOnConflicts, simplifyDB, toString, undoOne, varBumpActivity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.sat4j.specs.ISolver |
addAllClauses, addAtLeast, addAtMost, addClause, clearLearntClauses, expireTimeout, getStat, getTimeout, getTimeoutMs, isDBSimplificationAllowed, newVar, newVar, printStat, printStat, removeConstr, reset, setDBSimplificationAllowed, setExpectedNumberOfClauses, setTimeout, setTimeoutMs, setTimeoutOnConflicts |
Methods inherited from interface org.sat4j.specs.IProblem |
findModel, findModel, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, model, model, nConstraints, nVars, printInfos |
PBSolverCP
public PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
IOrder<L> order)
- Parameters:
acg
- learner
- dsf
-
PBSolverCP
public PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
SearchParams params,
IOrder<L> order,
RestartStrategy restarter)
PBSolverCP
public PBSolverCP(AssertingClauseGenerator acg,
LearningStrategy<L,PBDataStructureFactory<L>> learner,
PBDataStructureFactory<L> dsf,
SearchParams params,
IOrder<L> order)
analyze
public void analyze(Constr myconfl,
Pair results)
- Overrides:
analyze
in class Solver<L extends ILits,PBDataStructureFactory<L extends ILits>>
analyzeAtRootLevel
protected void analyzeAtRootLevel(Constr myconfl)
- Overrides:
analyzeAtRootLevel
in class Solver<L extends ILits,PBDataStructureFactory<L extends ILits>>
toString
public java.lang.String toString(java.lang.String prefix)
- Specified by:
toString
in interface ISolver
- Overrides:
toString
in class Solver<L extends ILits,PBDataStructureFactory<L extends ILits>>
getExplanation
public java.lang.String getExplanation()
- Specified by:
getExplanation
in interface IPBSolver
- Overrides:
getExplanation
in class PBSolver<L extends ILits>
Copyright © 2009 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.