org.sat4j.pb.constraints
Class PuebloPBMinClauseCardConstrDataStructure

java.lang.Object
  extended by org.sat4j.minisat.constraints.AbstractDataStructureFactory<ILits>
      extended by org.sat4j.pb.constraints.AbstractPBDataStructureFactory
          extended by org.sat4j.pb.constraints.AbstractPBClauseCardConstrDataStructure
              extended by org.sat4j.pb.constraints.PuebloPBMinClauseCardConstrDataStructure
All Implemented Interfaces:
java.io.Serializable, DataStructureFactory<ILits>, IInternalPBConstraintCreator, PBDataStructureFactory<ILits>
Direct Known Subclasses:
PBMaxClauseCardConstrDataStructure, PBMinClauseCardConstrDataStructure, PuebloPBMinClauseAtLeastConstrDataStructure

public class PuebloPBMinClauseCardConstrDataStructure
extends AbstractPBClauseCardConstrDataStructure

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory
learner, lits, solver
 
Constructor Summary
PuebloPBMinClauseCardConstrDataStructure()
           
 
Method Summary
protected  PBConstr constructCard(IVecInt theLits, int degree)
           
protected  PBConstr constructClause(IVecInt v)
           
protected  PBConstr constructLearntCard(IDataStructurePB dspb)
           
protected  PBConstr constructLearntCard(IVecInt literals, int degree)
           
protected  PBConstr constructLearntClause(IDataStructurePB dspb)
           
protected  PBConstr constructLearntClause(IVecInt literals)
           
protected  PBConstr constructLearntPB(IDataStructurePB dspb)
           
protected  PBConstr constructLearntPB(IVecInt literals, IVec<java.math.BigInteger> coefs, java.math.BigInteger degree)
           
protected  PBConstr constructPB(IDataStructurePB mpb)
           
protected  PBConstr constructPB(int[] theLits, java.math.BigInteger[] coefs, java.math.BigInteger degree)
           
 
Methods inherited from class org.sat4j.pb.constraints.AbstractPBClauseCardConstrDataStructure
constraintFactory, constraintFactory, constraintFactory, constraintFactory, constraintFactory
 
Methods inherited from class org.sat4j.pb.constraints.AbstractPBDataStructureFactory
createCardinalityConstraint, createClause, createLits, createPseudoBooleanConstraint, createUnregisteredClause, createUnregisteredPseudoBooleanConstraint, createUnregisteredPseudoBooleanConstraint, createUnregisteredPseudoBooleanConstraint
 
Methods inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory
conflictDetectedInAttachesFor, getAttachesFor, getVocabulary, learnConstraint, reset, setLearner, setUnitPropagationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sat4j.minisat.core.DataStructureFactory
conflictDetectedInAttachesFor, getAttachesFor, getVocabulary, learnConstraint, reset, setLearner, setUnitPropagationListener
 

Constructor Detail

PuebloPBMinClauseCardConstrDataStructure

public PuebloPBMinClauseCardConstrDataStructure()
Method Detail

constructClause

protected PBConstr constructClause(IVecInt v)
                            throws ContradictionException
Specified by:
constructClause in class AbstractPBClauseCardConstrDataStructure
Throws:
ContradictionException

constructCard

protected PBConstr constructCard(IVecInt theLits,
                                 int degree)
                          throws ContradictionException
Specified by:
constructCard in class AbstractPBClauseCardConstrDataStructure
Throws:
ContradictionException

constructPB

protected PBConstr constructPB(IDataStructurePB mpb)
                        throws ContradictionException
Specified by:
constructPB in class AbstractPBClauseCardConstrDataStructure
Throws:
ContradictionException

constructPB

protected PBConstr constructPB(int[] theLits,
                               java.math.BigInteger[] coefs,
                               java.math.BigInteger degree)
                        throws ContradictionException
Specified by:
constructPB in class AbstractPBClauseCardConstrDataStructure
Throws:
ContradictionException

constructLearntClause

protected PBConstr constructLearntClause(IVecInt literals)
Specified by:
constructLearntClause in class AbstractPBClauseCardConstrDataStructure

constructLearntCard

protected PBConstr constructLearntCard(IVecInt literals,
                                       int degree)
Specified by:
constructLearntCard in class AbstractPBClauseCardConstrDataStructure

constructLearntPB

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

constructLearntClause

protected PBConstr constructLearntClause(IDataStructurePB dspb)
Specified by:
constructLearntClause in class AbstractPBClauseCardConstrDataStructure

constructLearntCard

protected PBConstr constructLearntCard(IDataStructurePB dspb)
Specified by:
constructLearntCard in class AbstractPBClauseCardConstrDataStructure

constructLearntPB

protected PBConstr constructLearntPB(IDataStructurePB dspb)
Specified by:
constructLearntPB in class AbstractPBClauseCardConstrDataStructure


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