blob: 83a16cb233baab0a5b2f7c32dc776efade82f876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/********************* */
/*! \file sequences_stats.h
** \verbatim
** Top contributors (to current version):
** Andres Noetzli
** This file is part of the CVC4 project.
** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
** in the top-level source directory) and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
** \brief Statistics for the theory of strings/sequences
**/
#include "cvc4_private.h"
#ifndef CVC4__THEORY__STRINGS__SEQUENCES_STATS_H
#define CVC4__THEORY__STRINGS__SEQUENCES_STATS_H
#include "expr/kind.h"
#include "theory/strings/infer_info.h"
#include "util/statistics_registry.h"
namespace CVC4 {
namespace theory {
namespace strings {
class SequencesStatistics
{
public:
SequencesStatistics();
~SequencesStatistics();
/** Counts the number of applications of each type of inference */
HistogramStat<Inference> d_inferences;
/** Counts the number of applications of each type of reduction */
HistogramStat<Kind> d_reductions;
//--------------- conflicts, partition of calls to OutputChannel::conflict
/** Number of equality engine conflicts */
IntStat d_conflictsEqEngine;
/** Number of eager prefix conflicts */
IntStat d_conflictsEagerPrefix;
/** Number of inference conflicts */
IntStat d_conflictsInfer;
//--------------- end of conflicts
//--------------- lemmas, partition of calls to OutputChannel::lemma
/** Number of lemmas added due to eager preprocessing */
IntStat d_lemmasEagerPreproc;
/** Number of collect model info splits */
IntStat d_lemmasCmiSplit;
/** Number of lemmas added due to registering terms */
IntStat d_lemmasRegisterTerm;
/** Number of lemmas added due to registering atomic terms */
IntStat d_lemmasRegisterTermAtomic;
/** Number of lemmas added due to inferences */
IntStat d_lemmasInfer;
//--------------- end of lemmas
};
}
}
}
#endif /* CVC4__THEORY__STRINGS__SEQUENCES_STATS_H */
|