14 #ifdef SMTRAT_DEVOPTION_Statistics
22 std::size_t mNrTotalVariablesBefore = 0;
23 std::size_t mNrTotalVariablesAfter = 0;
24 std::size_t mNrTseitinVariables = 0;
25 std::size_t mNrClauses = 0;
26 std::size_t mNrLearnedLemmas = 0;
27 std::size_t mVarsWithPolarityTrue = 0;
28 std::size_t mPropagations = 0;
29 std::size_t mRestarts = 0;
30 std::size_t mDecisions = 0;
35 addKeyValuePair(
"variables", mNrTotalVariablesBefore );
36 addKeyValuePair(
"introduced_variables", mNrTotalVariablesAfter-mNrTotalVariablesBefore );
37 addKeyValuePair(
"tseitin_variables", mNrTseitinVariables );
38 addKeyValuePair(
"variables_preferably_set_to_true", mVarsWithPolarityTrue );
39 addKeyValuePair(
"clauses", mNrClauses );
40 addKeyValuePair(
"lemmas_learned", mNrLearnedLemmas );
41 addKeyValuePair(
"propagations", mPropagations );
42 addKeyValuePair(
"decisions", mDecisions );
43 addKeyValuePair(
"restarts", mRestarts );
53 ++mVarsWithPolarityTrue;
76 size_t& rNrTotalVariablesBefore()
78 return mNrTotalVariablesBefore;
81 size_t& rNrTotalVariablesAfter()
83 return mNrTotalVariablesAfter;
86 size_t& rNrTseitinVariables()
88 return mNrTseitinVariables;
Class to create the formulas for axioms.
carl::statistics::Statistics Statistics