org.sat4j.minisat.constraints
Class PBMinDataStructure

java.lang.Object
  extended by org.sat4j.minisat.constraints.AbstractDataStructureFactory<ILits>
      extended by org.sat4j.minisat.constraints.AbstractPBDataStructureFactory
          extended by org.sat4j.minisat.constraints.PBMinDataStructure
All Implemented Interfaces:
java.io.Serializable, IInternalPBConstraintCreator, DataStructureFactory<ILits>

public class PBMinDataStructure
extends AbstractPBDataStructureFactory

Author:
leberre 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.constraints.AbstractDataStructureFactory
learner, lits, solver
 
Constructor Summary
PBMinDataStructure()
           
 
Method Summary
protected  PBConstr constraintFactory(IVecInt literals, IVec<java.math.BigInteger> coefs, java.math.BigInteger degree)
           
protected  PBConstr constraintFactory(IVecInt literals, IVec<java.math.BigInteger> coefs, boolean moreThan, java.math.BigInteger degree)
           
protected  PBConstr constraintFactory(IVecInt literals, IVecInt coefs, boolean moreThan, int degree)
           
protected  PBConstr constraintFactory(IVecInt literals, IVecInt coefs, int degree)
           
 
Methods inherited from class org.sat4j.minisat.constraints.AbstractPBDataStructureFactory
createCardinalityConstraint, createClause, createLits, createPseudoBooleanConstraint, createUnregisteredClause, createUnregisteredPseudoBooleanConstraint, createUnregisteredPseudoBooleanConstraint
 
Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory
conflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PBMinDataStructure

public PBMinDataStructure()
Method Detail

constraintFactory

protected PBConstr constraintFactory(IVecInt literals,
                                     IVecInt coefs,
                                     boolean moreThan,
                                     int degree)
                              throws ContradictionException
Specified by:
constraintFactory in class AbstractPBDataStructureFactory
Parameters:
literals - the literals
coefs - the coefficients
degree - the degree of the constraint
Returns:
a new PB constraint
Throws:
ContradictionException

constraintFactory

protected PBConstr constraintFactory(IVecInt literals,
                                     IVecInt coefs,
                                     int degree)
Specified by:
constraintFactory in class AbstractPBDataStructureFactory
Returns:
a new PB constraint

constraintFactory

protected PBConstr constraintFactory(IVecInt literals,
                                     IVec<java.math.BigInteger> coefs,
                                     boolean moreThan,
                                     java.math.BigInteger degree)
                              throws ContradictionException
Specified by:
constraintFactory in class AbstractPBDataStructureFactory
Throws:
ContradictionException

constraintFactory

protected PBConstr constraintFactory(IVecInt literals,
                                     IVec<java.math.BigInteger> coefs,
                                     java.math.BigInteger degree)
Specified by:
constraintFactory in class AbstractPBDataStructureFactory


Copyright © 2007 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.