diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-07-15 00:20:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 05:20:11 +0000 |
commit | 17eb04b4e06a8b6d6ac18098d9efa961c49f6863 (patch) | |
tree | 58cc34d70db0bea1a04dad2714f4f796cea299a2 /src/theory/quantifiers/master_eq_notify.cpp | |
parent | 20db536832e9f2da6ed06917eedcad4101194ffc (diff) |
Move master equality engine notification to own file (#6877)
Preparation for central equality engine.
Diffstat (limited to 'src/theory/quantifiers/master_eq_notify.cpp')
-rw-r--r-- | src/theory/quantifiers/master_eq_notify.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/theory/quantifiers/master_eq_notify.cpp b/src/theory/quantifiers/master_eq_notify.cpp new file mode 100644 index 000000000..7aaec56c3 --- /dev/null +++ b/src/theory/quantifiers/master_eq_notify.cpp @@ -0,0 +1,34 @@ +/****************************************************************************** + * 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. + * **************************************************************************** + * + * Notification class for the master equality engine + */ + +#include "theory/quantifiers/master_eq_notify.h" + +#include "theory/quantifiers_engine.h" + +namespace cvc5 { +namespace theory { +namespace quantifiers { + +MasterNotifyClass::MasterNotifyClass(QuantifiersEngine* qe) : d_quantEngine(qe) {} + +void MasterNotifyClass::eqNotifyNewClass(TNode t) +{ + d_quantEngine->eqNotifyNewClass(t); +} + + +} // namespace quantifiers +} // namespace theory +} // namespace cvc5 |