org.sat4j.pb.constraints
Class PBMinDataStructure
java.lang.Object
org.sat4j.minisat.constraints.AbstractDataStructureFactory<org.sat4j.minisat.core.ILits>
org.sat4j.pb.constraints.AbstractPBDataStructureFactory
org.sat4j.pb.constraints.PBMinDataStructure
- All Implemented Interfaces:
- java.io.Serializable, org.sat4j.minisat.core.DataStructureFactory<org.sat4j.minisat.core.ILits>, IInternalPBConstraintCreator, PBDataStructureFactory<org.sat4j.minisat.core.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
| Fields inherited from class org.sat4j.minisat.constraints.AbstractDataStructureFactory |
learner, lits, solver |
|
Method Summary |
protected PBConstr |
constraintFactory(IDataStructurePB dspb)
|
protected PBConstr |
constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVec<java.math.BigInteger> coefs,
java.math.BigInteger degree)
|
protected PBConstr |
constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVec<java.math.BigInteger> coefs,
boolean moreThan,
java.math.BigInteger degree)
|
protected PBConstr |
constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVecInt coefs,
boolean moreThan,
int degree)
|
protected PBConstr |
constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVecInt coefs,
int degree)
|
| 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 |
PBMinDataStructure
public PBMinDataStructure()
constraintFactory
protected PBConstr constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVecInt coefs,
boolean moreThan,
int degree)
throws org.sat4j.specs.ContradictionException
- Specified by:
constraintFactory in class AbstractPBDataStructureFactory
- Parameters:
literals - the literalscoefs - the coefficientsdegree - the degree of the constraint
- Returns:
- a new PB constraint
- Throws:
org.sat4j.specs.ContradictionException
constraintFactory
protected PBConstr constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVecInt coefs,
int degree)
- Specified by:
constraintFactory in class AbstractPBDataStructureFactory
- Returns:
- a new PB constraint
constraintFactory
protected PBConstr constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVec<java.math.BigInteger> coefs,
boolean moreThan,
java.math.BigInteger degree)
throws org.sat4j.specs.ContradictionException
- Specified by:
constraintFactory in class AbstractPBDataStructureFactory
- Throws:
org.sat4j.specs.ContradictionException
constraintFactory
protected PBConstr constraintFactory(org.sat4j.specs.IVecInt literals,
org.sat4j.specs.IVec<java.math.BigInteger> coefs,
java.math.BigInteger degree)
- Specified by:
constraintFactory in class AbstractPBDataStructureFactory
constraintFactory
protected PBConstr constraintFactory(IDataStructurePB dspb)
- Specified by:
constraintFactory in class AbstractPBDataStructureFactory
Copyright © 2008 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.