org.sat4j.pb.constraints
Class PBMaxDataStructure
java.lang.Object
  
org.sat4j.minisat.constraints.AbstractDataStructureFactory
      
org.sat4j.pb.constraints.AbstractPBDataStructureFactory
          
org.sat4j.pb.constraints.PBMaxDataStructure
- All Implemented Interfaces: 
 - Serializable, DataStructureFactory, PBDataStructureFactory
 
public class PBMaxDataStructure
- 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
 
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
PBMaxDataStructure
public PBMaxDataStructure()
constraintFactory
protected Constr constraintFactory(int[] literals,
                                   BigInteger[] coefs,
                                   BigInteger degree)
                            throws ContradictionException
- Specified by:
 constraintFactory in class AbstractPBDataStructureFactory
 
- Parameters:
 literals - coefs - moreThan - degree - 
- Returns:
 - a counter-based PB constraint.
 - Throws:
 ContradictionException
 
learntConstraintFactory
protected WatchPb learntConstraintFactory(IDataStructurePB dspb)
- Specified by:
 learntConstraintFactory in class AbstractPBDataStructureFactory
 
- Parameters:
 literals - weightedLits - degree - 
- Returns:
 - a counter-based PB constraint.
 
 
Copyright © 2011 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.