diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-07-06 13:33:55 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-07-06 13:33:55 -0500 |
commit | 673bb476c2a1b51abbc95acb0afaf4e3b8a9feb7 (patch) | |
tree | ff5b597fe15afaeb83eae9e32d732f6bf27bff67 /src/theory/theory_engine.cpp | |
parent | cbc5adb5d4f131ea6bf9a40b0c27fecf67353b4d (diff) |
Add comment field for model, resolves hack for printing sep logic models.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index f6894e07b..913a6800b 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -796,6 +796,15 @@ void TheoryEngine::collectModelInfo( theory::TheoryModel* m, bool fullModel ){ } } +void TheoryEngine::collectModelComments( theory::TheoryModel* m ){ + for(TheoryId theoryId = theory::THEORY_FIRST; theoryId < theory::THEORY_LAST; ++theoryId) { + if(d_logicInfo.isTheoryEnabled(theoryId)) { + Trace("model-builder-debug") << " CollectModelComments on theory: " << theoryId << endl; + d_theoryTable[theoryId]->collectModelComments( m ); + } + } +} + /* get model */ TheoryModel* TheoryEngine::getModel() { return d_curr_model; |