GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/quantifiers/ematching/im_generator.cpp Lines: 6 6 100.0 %
Date: 2021-09-29 Branches: 2 4 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Aina Niemetz
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
 * Implementation of inst match generator base class.
14
 */
15
16
#include "theory/quantifiers/ematching/im_generator.h"
17
18
#include "theory/quantifiers/ematching/trigger.h"
19
20
using namespace cvc5::kind;
21
22
namespace cvc5 {
23
namespace theory {
24
namespace quantifiers {
25
namespace inst {
26
27
16368
IMGenerator::IMGenerator(Trigger* tparent)
28
16368
    : d_tparent(tparent), d_qstate(tparent->d_qstate), d_treg(tparent->d_treg)
29
{
30
16368
}
31
32
36819
bool IMGenerator::sendInstantiation(InstMatch& m, InferenceId id)
33
{
34
36819
  return d_tparent->sendInstantiation(m, id);
35
}
36
37
}  // namespace inst
38
}  // namespace quantifiers
39
}  // namespace theory
40
22746
}  // namespace cvc5