diff options
author | Paul Meng <baolmeng@gmail.com> | 2016-10-11 13:54:20 -0500 |
---|---|---|
committer | Paul Meng <baolmeng@gmail.com> | 2016-10-11 13:54:20 -0500 |
commit | 3395c5c13cd61d98aec0d9806e3b9bc3d707968a (patch) | |
tree | 0eadad9799862ec77d29f7abe03a46c300d80de8 /src/theory/theory_engine.cpp | |
parent | 773e7d27d606b71ff0f78e84efe1deef2653f016 (diff) | |
parent | 5f415d4585134612bc24e9a823289fee35541a01 (diff) |
Merge branch 'origin' of https://github.com/CVC4/CVC4.git
Conflicts:
src/options/quantifiers_options
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index 94281156f..a14534efe 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -1123,6 +1123,15 @@ Node TheoryEngine::preprocess(TNode assertion) { return d_ppCache[assertion]; } +void TheoryEngine::notifyPreprocessedAssertions( std::vector< Node >& assertions ){ + // call all the theories + for(TheoryId theoryId = theory::THEORY_FIRST; theoryId < theory::THEORY_LAST; ++theoryId) { + if(d_theoryTable[theoryId]) { + theoryOf(theoryId)->ppNotifyAssertions( assertions ); + } + } +} + bool TheoryEngine::markPropagation(TNode assertion, TNode originalAssertion, theory::TheoryId toTheoryId, theory::TheoryId fromTheoryId) { // What and where we are asserting @@ -1444,6 +1453,15 @@ void TheoryEngine::getInstantiations( std::map< Node, std::vector< Node > >& ins } } +Node TheoryEngine::getInstantiatedConjunction( Node q ) { + if( d_quantEngine ){ + return d_quantEngine->getInstantiatedConjunction( q ); + }else{ + Assert( false ); + return Node::null(); + } +} + static Node mkExplanation(const std::vector<NodeTheoryPair>& explanation) { |