5 #ifdef SMTRAT_DEVOPTION_Statistics
12 std::size_t m_input_constraints = 0;
13 std::size_t m_eliminated_vars = 0;
14 std::size_t m_eliminated_by_eq = 0;
15 std::size_t m_output_constraints = 0;
16 std::size_t m_total_constraints = 0;
17 bool m_eq_conflict =
false;
18 carl::statistics::timer m_qe_timer;
23 addKeyValuePair(
"input-constraints", m_input_constraints);
24 addKeyValuePair(
"eliminated-vars", m_eliminated_vars);
25 addKeyValuePair(
"eliminated-by-eq", m_eliminated_by_eq);
26 addKeyValuePair(
"output-constraints", m_output_constraints);
27 addKeyValuePair(
"total-constraints", m_total_constraints);
28 addKeyValuePair(
"qe-called", m_qe_timer);
29 addKeyValuePair(
"eq-conflict", m_eq_conflict);
32 auto& timer() {
return m_qe_timer; }
34 void input(std::size_t n) { m_input_constraints = n; }
35 void vars(std::size_t n) { m_eliminated_vars = n; }
36 void elim_eq(std::size_t n) { m_eliminated_by_eq = m_eliminated_vars - n; }
37 void output(std::size_t n) { m_output_constraints = n; }
38 void node(std::size_t n) { ++m_visited_nodes; m_total_constraints += n; }
40 void eq_conflict() { m_eq_conflict =
true; }
43 static FMplexQEStatistics& get_instance() {
44 static FMplexQEStatistics & statistics = statistics_get<FMplexQEStatistics>(
"fm-qe");
std::vector< carl::Variable > vars(const std::pair< QuantifierType, std::vector< carl::Variable >> &p)
carl::statistics::Statistics Statistics