org.sat4j.pb.core
Class PBSolverCP<L extends org.sat4j.minisat.core.ILits>

java.lang.Object
  extended by org.sat4j.minisat.core.Solver<L,PBDataStructureFactory<L>>
      extended by org.sat4j.pb.core.PBSolver<L>
          extended by org.sat4j.pb.core.PBSolverCP<L>
All Implemented Interfaces:
java.io.Serializable, org.sat4j.minisat.core.Learner, org.sat4j.minisat.core.UnitPropagationListener, IPBSolver, org.sat4j.specs.IProblem, org.sat4j.specs.ISolver
Direct Known Subclasses:
PBSolverClause, PBSolverMerging, PBSolverWithImpliedClause

public class PBSolverCP<L extends org.sat4j.minisat.core.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

Field Summary
 
Fields inherited from class org.sat4j.minisat.core.Solver
EXPENSIVE_SIMPLIFICATION, NO_SIMPLIFICATION, SIMPLE_SIMPLIFICATION
 
Constructor Summary
PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg, org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner, PBDataStructureFactory<L> dsf, org.sat4j.minisat.core.IOrder<L> order)
           
PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg, org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner, PBDataStructureFactory<L> dsf, org.sat4j.minisat.core.SearchParams params, org.sat4j.minisat.core.IOrder<L> order)
           
PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg, org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner, PBDataStructureFactory<L> dsf, org.sat4j.minisat.core.SearchParams params, org.sat4j.minisat.core.IOrder<L> order, org.sat4j.minisat.core.RestartStrategy restarter)
           
 
Method Summary
 void analyze(org.sat4j.minisat.core.Constr myconfl, org.sat4j.minisat.core.Pair results)
           
 java.lang.String getExplanation()
           
 java.lang.String toString(java.lang.String prefix)
           
 
Methods inherited from class org.sat4j.pb.core.PBSolver
addPseudoBoolean, setListOfVariablesForExplanation, setObjectiveFunction
 
Methods inherited from class org.sat4j.minisat.core.Solver
addAllClauses, addAtLeast, addAtMost, addClause, assume, claBumpActivity, clearLearntClauses, decisionLevel, decode2dimacs, enqueue, enqueue, expireTimeout, findModel, findModel, getDSFactory, getIthConstr, getOrder, getOutLearnt, getStat, getStats, getTimeout, getVocabulary, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, learn, model, model, nConstraints, newVar, newVar, nVars, printInfos, printStat, printStat, propagate, removeConstr, reset, setDataStructureFactory, setExpectedNumberOfClauses, setOrder, setRestartStrategy, setSearchListener, setSearchParams, setSimplifier, setSimplifier, setTimeout, setTimeoutMs, setTimeoutOnConflicts, simplifyDB, toString, varBumpActivity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sat4j.specs.ISolver
addAllClauses, addAtLeast, addAtMost, addClause, clearLearntClauses, expireTimeout, getStat, getTimeout, newVar, newVar, printStat, printStat, removeConstr, reset, setExpectedNumberOfClauses, setTimeout, setTimeoutMs, setTimeoutOnConflicts
 
Methods inherited from interface org.sat4j.specs.IProblem
findModel, findModel, isSatisfiable, isSatisfiable, isSatisfiable, isSatisfiable, model, model, nConstraints, nVars, printInfos
 

Constructor Detail

PBSolverCP

public PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg,
                  org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner,
                  PBDataStructureFactory<L> dsf,
                  org.sat4j.minisat.core.IOrder<L> order)
Parameters:
acg -
learner -
dsf -

PBSolverCP

public PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg,
                  org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner,
                  PBDataStructureFactory<L> dsf,
                  org.sat4j.minisat.core.SearchParams params,
                  org.sat4j.minisat.core.IOrder<L> order,
                  org.sat4j.minisat.core.RestartStrategy restarter)

PBSolverCP

public PBSolverCP(org.sat4j.minisat.core.AssertingClauseGenerator acg,
                  org.sat4j.minisat.core.LearningStrategy<L,PBDataStructureFactory<L>> learner,
                  PBDataStructureFactory<L> dsf,
                  org.sat4j.minisat.core.SearchParams params,
                  org.sat4j.minisat.core.IOrder<L> order)
Method Detail

analyze

public void analyze(org.sat4j.minisat.core.Constr myconfl,
                    org.sat4j.minisat.core.Pair results)
Overrides:
analyze in class org.sat4j.minisat.core.Solver<L extends org.sat4j.minisat.core.ILits,PBDataStructureFactory<L extends org.sat4j.minisat.core.ILits>>

toString

public java.lang.String toString(java.lang.String prefix)
Specified by:
toString in interface org.sat4j.specs.ISolver
Overrides:
toString in class org.sat4j.minisat.core.Solver<L extends org.sat4j.minisat.core.ILits,PBDataStructureFactory<L extends org.sat4j.minisat.core.ILits>>

getExplanation

public java.lang.String getExplanation()
Specified by:
getExplanation in interface IPBSolver
Overrides:
getExplanation in class PBSolver<L extends org.sat4j.minisat.core.ILits>