* (non-Javadoc)
*
* @see org.sat4j.minisat.DataStructureFactory#createClause(org.sat4j.datatype.VecInt)
*/
public Constr createClause(IVecInt literals) throws ContradictionException {
IVecInt v = Clauses.sanityCheck(literals, getVocabulary(), solver);
if (v == null)
return null;
if (v.size()==2) {
return OriginalBinaryClause.brandNewClause(solver, getVocabulary(), v);
}
return OriginalHTClause.brandNewClause(solver, getVocabulary(), v);
}