org.sat4j.minisat.constraints.pb
Class PBSolver

java.lang.Object
  extended by org.sat4j.minisat.core.Solver
      extended by org.sat4j.minisat.constraints.pb.PBSolver
All Implemented Interfaces:
java.io.Serializable, Learner, UnitPropagationListener, IProblem, ISolver
Direct Known Subclasses:
PBSolverCard, PBSolverClause, PBSolverWithImpliedClause

public class PBSolver
extends Solver

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
NO_SIMPLIFICATION, SIMPLE_SIMPLIFICATION
 
Constructor Summary
PBSolver(AssertingClauseGenerator acg, LearningStrategy learner, DataStructureFactory dsf, IOrder order)
           
 
Method Summary
 int analyze(Constr myconfl, Handle<Constr> outLearntRef)
           
 java.lang.String toString(java.lang.String prefix)
          Display a textual representation of the solver configuration.
 
Methods inherited from class org.sat4j.minisat.core.Solver
addAllClauses, addAtLeast, addAtMost, addClause, addPseudoBoolean, assume, claBumpActivity, decisionLevel, decode2dimacs, enqueue, enqueue, getDSFactory, getIthConstr, getOrder, getOutLearnt, getStat, getStats, getTimeout, getVocabulary, isSatisfiable, isSatisfiable, learn, model, model, nConstraints, newVar, newVar, nVars, printStat, printStat, propagate, removeConstr, reset, setDataStructureFactory, setExpectedNumberOfClauses, setOrder, setSearchListener, setSimplifier, setTimeout, simplifyDB, toString, varBumpActivity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PBSolver

public PBSolver(AssertingClauseGenerator acg,
                LearningStrategy learner,
                DataStructureFactory dsf,
                IOrder order)
Parameters:
acg -
learner -
dsf -
Method Detail

analyze

public int analyze(Constr myconfl,
                   Handle<Constr> outLearntRef)
Overrides:
analyze in class Solver

toString

public java.lang.String toString(java.lang.String prefix)
Description copied from interface: ISolver
Display a textual representation of the solver configuration.

Specified by:
toString in interface ISolver
Overrides:
toString in class Solver
Parameters:
prefix - the prefix to use on each line.
Returns:
a textual description of the solver internals.