public abstract class AbstractPBClauseCardConstrDataStructure extends AbstractPBDataStructureFactory
FOR_COMPETITION, NO_COMPETITIONlearner, lits, solvercreateAtLeastPBConstraint, createAtMostPBConstraint, createCardinalityConstraint, createLits, createPseudoBooleanConstraint, createUnregisteredAtLeastConstraint, createUnregisteredAtMostConstraint, createUnregisteredCardinalityConstraint, createUnregisteredPseudoBooleanConstraint, getNormalizer, setNormalizer, setNormalizerconflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListenerpublic Constr createClause(IVecInt literals) throws ContradictionException
createClause in interface DataStructureFactorycreateClause in class AbstractPBDataStructureFactoryliterals - a set of literals using Dimacs format (signed non null
integers).ContradictionException - the constraint is trivially unsatisfiable.public Constr createUnregisteredClause(IVecInt literals)
createUnregisteredClause in interface DataStructureFactorycreateUnregisteredClause in class AbstractPBDataStructureFactoryprotected Constr constraintFactory(int[] literals, BigInteger[] coefs, BigInteger degree) throws ContradictionException
constraintFactory in class AbstractPBDataStructureFactoryContradictionExceptionprotected Constr learntConstraintFactory(IDataStructurePB dspb)
learntConstraintFactory in class AbstractPBDataStructureFactoryprotected Constr learntAtLeastConstraintFactory(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
learntAtLeastConstraintFactory in class AbstractPBDataStructureFactoryprotected Constr learntAtMostConstraintFactory(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
learntAtMostConstraintFactory in class AbstractPBDataStructureFactoryprotected Constr constructCard(IVecInt theLits, int degree) throws ContradictionException
ContradictionExceptionprotected Constr constructPB(int[] theLits, BigInteger[] coefs, BigInteger degree) throws ContradictionException
ContradictionExceptionprotected Constr constructLearntCard(IDataStructurePB dspb)
protected Constr constructLearntCard(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
protected Constr constructLearntPB(IDataStructurePB dspb)
protected Constr constructLearntPB(IVecInt literals, IVec<BigInteger> coefs, BigInteger degree)
public static final BigInteger sumOfCoefficients(BigInteger[] coefs)
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.