4 #ifdef SMTRAT_DEVOPTION_Statistics
7 class STropModuleStatistics :
public Statistics {
9 enum class AnswerBy {
NONE = 0,
16 carl::statistics::Timer m_theory_timer;
17 carl::statistics::Timer m_transformation_timer;
18 std::size_t m_answer_by_TRIVIAL_UNSAT = 0;
19 std::size_t m_answer_by_METHOD = 0;
20 std::size_t m_answer_by_BACKEND = 0;
21 std::size_t m_answer_by_PARSER = 0;
22 std::size_t m_failed = 0;
23 std::size_t m_transformation_applicable = 0;
27 Statistics::addKeyValuePair(
"theory_call_time", m_theory_timer);
28 Statistics::addKeyValuePair(
"transformation_time", m_transformation_timer);
29 Statistics::addKeyValuePair(
"answer_by_TRIVIAL_UNSAT", m_answer_by_TRIVIAL_UNSAT);
30 Statistics::addKeyValuePair(
"answer_by_METHOD", m_answer_by_METHOD);
31 Statistics::addKeyValuePair(
"answer_by_BACKEND", m_answer_by_BACKEND);
32 Statistics::addKeyValuePair(
"answer_by_PARSER", m_answer_by_PARSER);
33 Statistics::addKeyValuePair(
"failed", m_failed);
34 Statistics::addKeyValuePair(
"transformation_applicable", m_transformation_applicable);
37 void answer_by(AnswerBy answer_by) {
39 case AnswerBy::TRIVIAL_UNSAT:
40 m_answer_by_TRIVIAL_UNSAT++;
42 case AnswerBy::METHOD:
45 case AnswerBy::BACKEND:
46 m_answer_by_BACKEND++;
48 case AnswerBy::PARSER:
60 void transformation_applicable() {
61 m_transformation_applicable++;
64 auto& theory_timer() {
65 return m_theory_timer;
68 auto& transformation_timer() {
69 return m_transformation_timer;
Class to create the formulas for axioms.
carl::statistics::Statistics Statistics