summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_stats.h
blob: 6236547f9ec6ebcc5d2621bc76247a90a7337c3d (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
/******************************************************************************
 * Top contributors (to current version):
 *   Andrew Reynolds
 *
 * This file is part of the cvc5 project.
 *
 * Copyright (c) 2009-2021 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.
 * ****************************************************************************
 *
 * A shared statistics class for sygus.
 */

#include "cvc5_private.h"

#ifndef CVC5__THEORY__QUANTIFIERS__SYGUS_STATS_H
#define CVC5__THEORY__QUANTIFIERS__SYGUS_STATS_H

#include "util/statistics_stats.h"

namespace cvc5 {
namespace theory {
namespace quantifiers {

/**
 * All statistics managed for the synth engine.
 */
class SygusStatistics
{
 public:
  SygusStatistics();
  /** Number of counterexample lemmas */
  IntStat d_cegqi_lemmas_ce;
  /** Number of refinement lemmas */
  IntStat d_cegqi_lemmas_refine;
  /** Number of single invocation lemmas */
  IntStat d_cegqi_si_lemmas;
  /** Number of solutions printed (could be >1 for --sygus-stream) */
  IntStat d_solutions;
  /** Number of solutions filtered */
  IntStat d_filtered_solutions;
  /** Number of candidate rewrites printed (for --sygus-rr) */
  IntStat d_candidate_rewrites_print;
  /** Number of terms checked for rewrite-based symmetry in fast enumerators */
  IntStat d_enumTermsRewrite;
  /** Number of terms checked for example-based symmetry in fast enumerators */
  IntStat d_enumTermsExampleEval;
  /** Number of non-redundant terms generated by fast enumerators */
  IntStat d_enumTerms;
};

}  // namespace quantifiers
}  // namespace theory
}  // namespace cvc5

#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback