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 |
43601 |
IMGenerator::IMGenerator(Trigger* tparent) |
28 |
43601 |
: d_tparent(tparent), d_qstate(tparent->d_qstate), d_treg(tparent->d_treg) |
29 |
|
{ |
30 |
43601 |
} |
31 |
|
|
32 |
120057 |
bool IMGenerator::sendInstantiation(InstMatch& m, InferenceId id) |
33 |
|
{ |
34 |
120057 |
return d_tparent->sendInstantiation(m, id); |
35 |
|
} |
36 |
|
|
37 |
|
} // namespace inst |
38 |
|
} // namespace quantifiers |
39 |
|
} // namespace theory |
40 |
29340 |
} // namespace cvc5 |