public class MixedDataStructureSingleWL extends AbstractDataStructureFactory
learner, lits, solver| Constructor and Description | 
|---|
| MixedDataStructureSingleWL() | 
| Modifier and Type | Method and Description | 
|---|---|
| Constr | createCardinalityConstraint(IVecInt literals,
                           int degree)Create a cardinality constraint of the form sum li >= degree. | 
| Constr | createClause(IVecInt literals) | 
| protected ILits | createLits() | 
| Constr | createUnregisteredCardinalityConstraint(IVecInt literals,
                                       int degree) | 
| Constr | createUnregisteredClause(IVecInt literals) | 
conflictDetectedInWatchesFor, getVocabulary, getWatchesFor, learnConstraint, reset, setLearner, setUnitPropagationListenerpublic Constr createCardinalityConstraint(IVecInt literals, int degree) throws ContradictionException
DataStructureFactorycreateCardinalityConstraint in interface DataStructureFactorycreateCardinalityConstraint in class AbstractDataStructureFactoryliterals - a set of literals.degree - the degree of the cardinality constraint.ContradictionExceptionpublic Constr createUnregisteredCardinalityConstraint(IVecInt literals, int degree)
createUnregisteredCardinalityConstraint in interface DataStructureFactorycreateUnregisteredCardinalityConstraint in class AbstractDataStructureFactorypublic Constr createClause(IVecInt literals) throws ContradictionException
literals - a set of literals using Dimacs format (signed non null
            integers).ContradictionException - the constraint is trivially unsatisfiable.protected ILits createLits()
createLits in class AbstractDataStructureFactoryCopyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.