org.sat4j.pb.constraints.pb
Class UnitClausePB
java.lang.Object
org.sat4j.minisat.constraints.cnf.UnitClause
org.sat4j.pb.constraints.pb.UnitClausePB
- All Implemented Interfaces:
- Constr, PBConstr, IConstr
public final class UnitClausePB
- extends UnitClause
- implements PBConstr
Methods inherited from class org.sat4j.minisat.constraints.cnf.UnitClause |
assertConstraint, calcReason, canBePropagatedMultipleTimes, forwardActivity, get, getActivity, incActivity, learnt, locked, propagate, register, remove, rescaleBy, setActivity, setLearnt, simplify, size, toString |
Methods inherited from interface org.sat4j.minisat.core.Constr |
assertConstraint, calcReason, forwardActivity, incActivity, locked, register, remove, rescaleBy, setActivity, setLearnt, simplify |
UnitClausePB
public UnitClausePB(int value,
ILits voc)
computeAnImpliedClause
public IVecInt computeAnImpliedClause()
- Specified by:
computeAnImpliedClause
in interface PBConstr
getCoef
public BigInteger getCoef(int p)
- 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
getLits
public int[] getLits()
- Specified by:
getLits
in interface PBConstr
getVocabulary
public ILits getVocabulary()
- Specified by:
getVocabulary
in interface PBConstr
Copyright © 2012 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.