From 673bb476c2a1b51abbc95acb0afaf4e3b8a9feb7 Mon Sep 17 00:00:00 2001 From: ajreynol Date: Wed, 6 Jul 2016 13:33:55 -0500 Subject: Add comment field for model, resolves hack for printing sep logic models. --- src/theory/theory_engine.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/theory/theory_engine.cpp') 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; -- cgit v1.2.3