11 #ifdef SMTRAT_DEVOPTION_Statistics
16 class CNFerModuleStatistics :
public Statistics
20 size_t mBooleanComplexity = 1;
21 size_t mNrOfArithVariables = 0;
22 size_t mNrOfBoolVariables = 0;
28 Statistics::addKeyValuePair(
"boolean_complexity", mBooleanComplexity );
29 Statistics::addKeyValuePair(
"nr_of_arith_variables", mNrOfArithVariables );
30 Statistics::addKeyValuePair(
"nr_of_bool_variables", mNrOfBoolVariables );
33 void addClauseOfSize(
size_t _clauseSize)
35 unsigned targetlevel = 0;
36 while (_clauseSize >>= 1) ++targetlevel;
37 mBooleanComplexity += targetlevel;
40 size_t& nrOfArithVariables()
42 return mNrOfArithVariables;
45 size_t& nrOfBoolVariables()
47 return mNrOfBoolVariables;
Class to create the formulas for axioms.
carl::statistics::Statistics Statistics