diff options
Diffstat (limited to 'src/theory/theory.cpp')
-rw-r--r-- | src/theory/theory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp index 1998498f5..76aabeb1f 100644 --- a/src/theory/theory.cpp +++ b/src/theory/theory.cpp @@ -76,5 +76,14 @@ void Theory::computeCareGraph(CareGraph& careGraph) { } } +void Theory::printFacts(std::ostream& os) const { + unsigned i, n = d_facts.size(); + for(i = 0; i < n; i++){ + const Assertion& a_i = d_facts[i]; + Node assertion = a_i; + os << d_id << '[' << i << ']' << " " << assertion << endl; + } +} + }/* CVC4::theory namespace */ }/* CVC4 namespace */ |