Clover Coverage Report
Coverage timestamp: mer. juin 27 2007 07:27:16 CEST
4   21   2   4
2   16   0,5   1
1     2  
1    
 
  MixedDataStructureDanielCBWL       Line # 9 4 2 71,4% 0.71428573
 
No Tests
 
1    package org.sat4j.minisat.constraints;
2   
3    import org.sat4j.minisat.constraints.cnf.MixableCBClause;
4    import org.sat4j.minisat.constraints.cnf.WLClause;
5    import org.sat4j.minisat.core.Constr;
6    import org.sat4j.specs.ContradictionException;
7    import org.sat4j.specs.IVecInt;
8   
 
9    public class MixedDataStructureDanielCBWL extends MixedDataStructureDaniel {
10   
11    private static final long serialVersionUID = 1L;
12   
 
13  415 toggle @Override
14    public Constr createClause(IVecInt literals) throws ContradictionException {
15  415 IVecInt v = WLClause.sanityCheck(literals, getVocabulary(), solver);
16  415 if (v == null)
17  0 return null;
18  415 return MixableCBClause.brandNewClause(solver, getVocabulary(), v);
19    }
20   
21    }