public abstract class AbstractPBDataStructureFactory extends AbstractDataStructureFactory implements PBDataStructureFactory
| Modifier and Type | Field and Description |
|---|---|
static org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer |
FOR_COMPETITION |
static org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer |
NO_COMPETITION |
learner, lits, solver| Constructor and Description |
|---|
AbstractPBDataStructureFactory() |
conflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListenerpublic static final org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer FOR_COMPETITION
public static final org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer NO_COMPETITION
protected org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer getNormalizer()
public void setNormalizer(String simp)
public void setNormalizer(org.sat4j.pb.constraints.AbstractPBDataStructureFactory.INormalizer normalizer)
public Constr createClause(IVecInt literals) throws ContradictionException
createClause in interface DataStructureFactoryContradictionExceptionpublic Constr createUnregisteredClause(IVecInt literals)
createUnregisteredClause in interface DataStructureFactorypublic Constr createCardinalityConstraint(IVecInt literals, int degree) throws ContradictionException
createCardinalityConstraint in interface DataStructureFactorycreateCardinalityConstraint in class AbstractDataStructureFactoryContradictionExceptionpublic Constr createPseudoBooleanConstraint(IVecInt literals, IVec<BigInteger> coefs, boolean moreThan, BigInteger degree) throws ContradictionException
createPseudoBooleanConstraint in interface PBDataStructureFactoryContradictionExceptionpublic Constr createAtMostPBConstraint(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree) throws ContradictionException
createAtMostPBConstraint in interface PBDataStructureFactoryContradictionExceptionpublic Constr createAtLeastPBConstraint(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree) throws ContradictionException
createAtLeastPBConstraint in interface PBDataStructureFactoryContradictionExceptionpublic Constr createUnregisteredPseudoBooleanConstraint(IDataStructurePB dspb)
createUnregisteredPseudoBooleanConstraint in interface PBDataStructureFactorypublic Constr createUnregisteredAtLeastConstraint(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
createUnregisteredAtLeastConstraint in interface PBDataStructureFactorypublic Constr createUnregisteredAtMostConstraint(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
createUnregisteredAtMostConstraint in interface PBDataStructureFactoryprotected abstract Constr constraintFactory(int[] literals, BigInteger[] coefs, BigInteger degree) throws ContradictionException
ContradictionExceptionprotected abstract Constr learntConstraintFactory(IDataStructurePB dspb)
protected abstract Constr learntAtLeastConstraintFactory(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
protected abstract Constr learntAtMostConstraintFactory(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
protected ILits createLits()
createLits in class AbstractDataStructureFactorypublic Constr createUnregisteredCardinalityConstraint(IVecInt literals, int degree)
createUnregisteredCardinalityConstraint in interface DataStructureFactorycreateUnregisteredCardinalityConstraint in class AbstractDataStructureFactoryCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.