org.sat4j.pb.constraints.pb
Class LearntHTClausePB

java.lang.Object
  extended by org.sat4j.minisat.constraints.cnf.HTClause
      extended by org.sat4j.minisat.constraints.cnf.LearntHTClause
          extended by org.sat4j.pb.constraints.pb.LearntHTClausePB
All Implemented Interfaces:
java.io.Serializable, Constr, Propagatable, PBConstr, IConstr

public class LearntHTClausePB
extends LearntHTClause
implements PBConstr

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sat4j.minisat.constraints.cnf.HTClause
activity, head, middleLits, tail, voc
 
Constructor Summary
LearntHTClausePB(IVecInt ps, ILits voc)
           
 
Method Summary
 void assertConstraint(UnitPropagationListener s)
           
 IVecInt computeAnImpliedClause()
           
 java.math.BigInteger getCoef(int literal)
           
 java.math.BigInteger[] getCoefs()
           
 java.math.BigInteger getDegree()
           
 
Methods inherited from class org.sat4j.minisat.constraints.cnf.LearntHTClause
forwardActivity, incActivity, learnt, register, setLearnt
 
Methods inherited from class org.sat4j.minisat.constraints.cnf.HTClause
calcReason, equals, get, getActivity, getLits, getVocabulary, hashCode, locked, propagate, remove, rescaleBy, simplify, size, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sat4j.pb.constraints.pb.PBConstr
getLits, getVocabulary
 
Methods inherited from interface org.sat4j.minisat.core.Constr
calcReason, forwardActivity, 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, getActivity, learnt, size
 

Constructor Detail

LearntHTClausePB

public LearntHTClausePB(IVecInt ps,
                        ILits voc)
Method Detail

assertConstraint

public void assertConstraint(UnitPropagationListener s)
Specified by:
assertConstraint in interface Constr
Overrides:
assertConstraint in class HTClause

computeAnImpliedClause

public 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


Copyright © 2009 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.