org.sat4j.pb.constraints.pb
Class MixableCBClausePB
java.lang.Object
org.sat4j.minisat.constraints.cnf.CBClause
org.sat4j.minisat.constraints.cnf.MixableCBClause
org.sat4j.pb.constraints.pb.MixableCBClausePB
- All Implemented Interfaces:
- java.io.Serializable, org.sat4j.minisat.core.Constr, org.sat4j.minisat.core.Propagatable, org.sat4j.minisat.core.Undoable, PBConstr, org.sat4j.specs.IConstr
public class MixableCBClausePB
- extends org.sat4j.minisat.constraints.cnf.MixableCBClause
- implements PBConstr
- See Also:
- Serialized Form
| Fields inherited from class org.sat4j.minisat.constraints.cnf.CBClause |
falsified, lits, voc |
|
Constructor Summary |
MixableCBClausePB(org.sat4j.specs.IVecInt ps,
org.sat4j.minisat.core.ILits voc)
|
MixableCBClausePB(org.sat4j.specs.IVecInt ps,
org.sat4j.minisat.core.ILits voc,
boolean learnt)
|
| Methods inherited from class org.sat4j.minisat.constraints.cnf.MixableCBClause |
propagate |
| Methods inherited from class org.sat4j.minisat.constraints.cnf.CBClause |
calcReason, get, getActivity, incActivity, learnt, locked, register, remove, rescaleBy, setLearnt, simplify, size, toString, undo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.sat4j.minisat.core.Constr |
calcReason, getActivity, incActivity, locked, register, remove, rescaleBy, setLearnt, simplify |
| Methods inherited from interface org.sat4j.minisat.core.Propagatable |
propagate |
| Methods inherited from interface org.sat4j.specs.IConstr |
get, learnt, size |
MixableCBClausePB
public MixableCBClausePB(org.sat4j.specs.IVecInt ps,
org.sat4j.minisat.core.ILits voc,
boolean learnt)
MixableCBClausePB
public MixableCBClausePB(org.sat4j.specs.IVecInt ps,
org.sat4j.minisat.core.ILits voc)
brandNewClause
public static MixableCBClausePB brandNewClause(org.sat4j.minisat.core.UnitPropagationListener s,
org.sat4j.minisat.core.ILits voc,
org.sat4j.specs.IVecInt literals)
computeAnImpliedClause
public org.sat4j.specs.IVecInt computeAnImpliedClause()
- Specified by:
computeAnImpliedClause in interface PBConstr
getCoef
public java.math.BigInteger getCoef(int literal)
- Specified by:
getCoef in interface PBConstr
getCoefs
public java.math.BigInteger[] getCoefs()
- Specified by:
getCoefs in interface PBConstr
getDegree
public java.math.BigInteger getDegree()
- Specified by:
getDegree in interface PBConstr
getLits
public int[] getLits()
- Specified by:
getLits in interface PBConstr
getVocabulary
public org.sat4j.minisat.core.ILits getVocabulary()
- Specified by:
getVocabulary in interface PBConstr
assertConstraint
public void assertConstraint(org.sat4j.minisat.core.UnitPropagationListener s)
- Specified by:
assertConstraint in interface org.sat4j.minisat.core.Constr- Overrides:
assertConstraint in class org.sat4j.minisat.constraints.cnf.CBClause
Copyright © 2008 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.