Clover coverage report -
Coverage timestamp: jeu. juin 15 2006 08:24:33 CEST
file stats: LOC: 31   Methods: 2
NCLOC: 21   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
PBMaxClauseCardConstrDataStructure.java - 100% 100% 100%
coverage
 1    package org.sat4j.minisat.constraints;
 2   
 3    import java.math.BigInteger;
 4   
 5    import org.sat4j.minisat.constraints.pb.IDataStructurePB;
 6    import org.sat4j.minisat.constraints.pb.MaxWatchPb;
 7    import org.sat4j.minisat.constraints.pb.PBConstr;
 8    import org.sat4j.specs.ContradictionException;
 9    import org.sat4j.specs.IVec;
 10    import org.sat4j.specs.IVecInt;
 11   
 12    public class PBMaxClauseCardConstrDataStructure extends
 13    PuebloPBMinClauseCardConstrDataStructure {
 14   
 15    /**
 16    *
 17    */
 18    private static final long serialVersionUID = 1L;
 19   
 20  246528 protected PBConstr constructPB(IDataStructurePB mpb)
 21    throws ContradictionException {
 22  246528 return MaxWatchPb.normalizedMaxWatchPbNew(solver, getVocabulary(), mpb);
 23    }
 24   
 25  23528 protected PBConstr constructLearntPB(IVecInt literals,
 26    IVec<BigInteger> coefs, BigInteger degree) {
 27  23528 return MaxWatchPb.watchPbNew(getVocabulary(), literals, coefs, true,
 28    degree);
 29    }
 30   
 31    }