diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-08-24 21:03:19 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-08-24 21:03:19 +0000 |
commit | 278cdeb360322c7e9ae4b102abd740d101f37c6d (patch) | |
tree | 4c6c79e73b1c9cb60b21c8ffb743c4218f61094f /src/theory/theory.cpp | |
parent | ad18245c092ea6e5b998b556aaec74ef9109bd8c (diff) |
Simplification of the preregister and register throught a NodeVisitor class. The theoryOf is not all in one place, theory::theoryOf. The uninterpreted sorts belong to the builtin theory and are dispatched to the apropriate theory (QF_UF, QF_AX) through theoryOf based on the setting in the Theory class.
Diffstat (limited to 'src/theory/theory.cpp')
-rw-r--r-- | src/theory/theory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp index b1eb195c7..576e0188b 100644 --- a/src/theory/theory.cpp +++ b/src/theory/theory.cpp @@ -26,6 +26,9 @@ using namespace std; namespace CVC4 { namespace theory { +/** Default value for the uninterpreted sorts is the UF theory */ +TheoryId Theory::d_uninterpretedSortOwner = THEORY_UF; + std::ostream& operator<<(std::ostream& os, Theory::Effort level){ switch(level){ case Theory::MIN_EFFORT: |