5 #ifdef SMTRAT_DEVOPTION_Statistics
12 std::size_t mInsertedLazyExplanation = 0;
13 std::size_t mUsedLazyExplanation = 0;
14 std::size_t mModelAssignmentCacheHit = 0;
15 std::size_t mBooleanDecision = 0;
16 std::size_t mTheoryDecision = 0;
17 std::size_t mBooleanConflict = 0;
18 std::size_t mTheoryConflict = 0;
19 std::size_t mInconsistentTheoryDecision = 0;
20 std::size_t mBackjumpDecide = 0;
23 bool enabled()
const {
25 (mInsertedLazyExplanation > 0) ||
26 (mUsedLazyExplanation > 0) ||
27 (mModelAssignmentCacheHit > 0) ||
28 (mBooleanDecision > 0) ||
29 (mTheoryDecision > 0) ||
30 (mBooleanConflict > 0) ||
31 (mTheoryConflict > 0) ||
32 (mInconsistentTheoryDecision > 0) ||
37 Statistics::addKeyValuePair(
"insertedLazyExplanation", mInsertedLazyExplanation);
38 Statistics::addKeyValuePair(
"usedLazyExplanation", mUsedLazyExplanation);
39 Statistics::addKeyValuePair(
"modelAssignmentCacheHit", mModelAssignmentCacheHit);
40 Statistics::addKeyValuePair(
"booleanDecision", mBooleanDecision);
41 Statistics::addKeyValuePair(
"theoryDecision", mTheoryDecision);
42 Statistics::addKeyValuePair(
"booleanConflict", mBooleanConflict);
43 Statistics::addKeyValuePair(
"theoryConflict", mTheoryConflict);
44 Statistics::addKeyValuePair(
"inconsistentTheoryDecision", mInconsistentTheoryDecision);
45 Statistics::addKeyValuePair(
"backjumpDecide", mBackjumpDecide);
48 void insertedLazyExplanation() {
49 ++mInsertedLazyExplanation;
52 void usedLazyExplanation() {
53 ++mUsedLazyExplanation;
56 void modelAssignmentCacheHit() {
57 ++mModelAssignmentCacheHit;
60 void booleanDecision() {
64 void theoryDecision() {
68 void booleanConflict() {
72 void theoryConflict() {
76 void inconsistentTheoryDecision() {
77 ++mInconsistentTheoryDecision;
80 void backjumpDecide() {
Class to create the formulas for axioms.
carl::statistics::Statistics Statistics