org.sat4j.pb.constraints.pb
Class LearntBinaryClausePB
java.lang.Object
org.sat4j.minisat.constraints.cnf.BinaryClause
org.sat4j.minisat.constraints.cnf.LearntBinaryClause
org.sat4j.pb.constraints.pb.LearntBinaryClausePB
- All Implemented Interfaces:
- Serializable, Constr, Propagatable, PBConstr, IConstr
public final class LearntBinaryClausePB
- extends LearntBinaryClause
- implements PBConstr
- See Also:
- Serialized Form
Methods inherited from class org.sat4j.minisat.constraints.cnf.BinaryClause |
assertConstraint, calcReason, canBePropagatedMultipleTimes, equals, get, getActivity, getLits, getVocabulary, hashCode, locked, propagate, register, remove, rescaleBy, simplify, size, toString |
LearntBinaryClausePB
public LearntBinaryClausePB(IVecInt ps,
ILits voc)
computeAnImpliedClause
public IVecInt computeAnImpliedClause()
- Specified by:
computeAnImpliedClause
in interface PBConstr
getCoef
public BigInteger getCoef(int literal)
- Specified by:
getCoef
in interface PBConstr
getCoefs
public BigInteger[] getCoefs()
- Specified by:
getCoefs
in interface PBConstr
getDegree
public BigInteger getDegree()
- Specified by:
getDegree
in interface PBConstr
Copyright © 2011 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.