GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/quantifiers/quantifiers_inference_manager.cpp Lines: 15 15 100.0 %
Date: 2021-08-20 Branches: 8 16 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Utility for quantifiers inference manager.
14
 */
15
16
#include "theory/quantifiers/quantifiers_inference_manager.h"
17
18
#include "theory/quantifiers/instantiate.h"
19
#include "theory/quantifiers/skolemize.h"
20
21
namespace cvc5 {
22
namespace theory {
23
namespace quantifiers {
24
25
9856
QuantifiersInferenceManager::QuantifiersInferenceManager(
26
    Theory& t,
27
    QuantifiersState& state,
28
    QuantifiersRegistry& qr,
29
    TermRegistry& tr,
30
9856
    ProofNodeManager* pnm)
31
    : InferenceManagerBuffered(t, state, pnm, "theory::quantifiers::"),
32
9856
      d_instantiate(new Instantiate(state, *this, qr, tr, pnm)),
33
19712
      d_skolemize(new Skolemize(state, tr, pnm))
34
{
35
9856
}
36
37
9856
QuantifiersInferenceManager::~QuantifiersInferenceManager() {}
38
39
459514
Instantiate* QuantifiersInferenceManager::getInstantiate()
40
{
41
459514
  return d_instantiate.get();
42
}
43
44
10649
Skolemize* QuantifiersInferenceManager::getSkolemize()
45
{
46
10649
  return d_skolemize.get();
47
}
48
49
175728
void QuantifiersInferenceManager::doPending()
50
{
51
175728
  doPendingLemmas();
52
175727
  doPendingPhaseRequirements();
53
175727
}
54
55
}  // namespace quantifiers
56
}  // namespace theory
57
29358
}  // namespace cvc5