diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-06-11 16:28:23 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-06-11 16:28:23 +0000 |
commit | 3378e253fcdb34c753407bb16d08929da06b3aaa (patch) | |
tree | db7c7118dd0d1594175b56866f845b42426ae0a7 /src/theory/instantiator_tables_template.cpp | |
parent | 42794501e81c44dce5c2f7687af288af030ef63e (diff) |
Merge from quantifiers2-trunkmerge branch.
Adds TheoryQuantifiers and TheoryRewriteRules, QuantifiersEngine, and other infrastructure.
Adds theory instantiators to many theories.
Adds the UF strong solver.
Diffstat (limited to 'src/theory/instantiator_tables_template.cpp')
-rw-r--r-- | src/theory/instantiator_tables_template.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/theory/instantiator_tables_template.cpp b/src/theory/instantiator_tables_template.cpp new file mode 100644 index 000000000..7a78c3aae --- /dev/null +++ b/src/theory/instantiator_tables_template.cpp @@ -0,0 +1,40 @@ +/********************* */ +/*! \file instantiator_tables_template.cpp + ** \verbatim + ** Original author: mdeters + ** Major contributors: none + ** Minor contributors (to current version): none + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009, 2010, 2011, 2012 The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + ** See the file COPYING in the top-level source directory for licensing + ** information.\endverbatim + ** + ** \brief Instantiator tables for quantifier-friendly theories + ** + ** This file contains template code for the instantiator tables that are + ** generated from the Theory kinds files. + **/ + +#include "context/context.h" +#include "theory/quantifiers_engine.h" + +${instantiator_includes} + +#line 26 "${template}" + +namespace CVC4 { +namespace theory { + +Instantiator* Theory::makeInstantiator(context::Context* c, theory::QuantifiersEngine* qe) { + switch(d_id) { +${make_instantiator_cases} +#line 34 "${template}" + default: + Unhandled(d_id); + } +} + +}/* CVC4::theory namespace */ +}/* CVC4 namespace */ |