diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-01-21 11:34:55 +0100 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-01-21 11:34:55 +0100 |
commit | e908abc0e8a7a7d61a4d6e25821042a8e860e873 (patch) | |
tree | 079a5cbc0e1192d006c97e3283bfb81da4f6fb1b /src/util | |
parent | a50f977b02c5653e03d4f3d9d8c7df1f9e2be48e (diff) |
Initial work on sygusNormalForm.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/datatype.cpp | 4 | ||||
-rw-r--r-- | src/util/datatype.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/util/datatype.cpp b/src/util/datatype.cpp index c15e103f9..fad2719f4 100644 --- a/src/util/datatype.cpp +++ b/src/util/datatype.cpp @@ -424,6 +424,10 @@ Expr Datatype::getConstructor(std::string name) const { return (*this)[name].getConstructor(); } +Type Datatype::getSygusType() const { + return d_sygus_type; +} + bool Datatype::involvesExternalType() const{ return d_involvesExt; } diff --git a/src/util/datatype.h b/src/util/datatype.h index 084202956..b91348cdb 100644 --- a/src/util/datatype.h +++ b/src/util/datatype.h @@ -632,6 +632,9 @@ public: * This Datatype must be resolved. */ Expr getConstructor(std::string name) const; + + /** get sygus type */ + Type getSygusType() const; /** * Get whether this datatype involves an external type. If so, |