SMT-RAT  24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
FPPStatistics.h
Go to the documentation of this file.
1 /**
2  * @file FPPStatistics.h
3  * @author YOUR NAME <YOUR EMAIL ADDRESS>
4  *
5  * @version 2015-09-10
6  * Created on 2015-09-10.
7  */
8 
9 
10 #pragma once
11 
13 #ifdef SMTRAT_DEVOPTION_Statistics
15 
16 namespace smtrat
17 {
18  class FPPStatistics : public Statistics
19  {
20  private:
21  // Members.
22  std::size_t mInputVariables = 0;
23  std::size_t mOutputVariables = 0;
24 
25  public:
26  // Override Statistics::collect.
27  void collect()
28  {
29  Statistics::addKeyValuePair( "input_variables", mInputVariables );
30  Statistics::addKeyValuePair( "output_variables", mOutputVariables );
31  }
32 
33  void setInput(std::size_t variables) {
34  mInputVariables = variables;
35  }
36  void setOutput(std::size_t variables) {
37  mOutputVariables = variables;
38  }
39  };
40 }
41 
42 #endif
Class to create the formulas for axioms.
carl::statistics::Statistics Statistics
Definition: Statistics.h:7