summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-01-21 11:34:55 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2015-01-21 11:34:55 +0100
commite908abc0e8a7a7d61a4d6e25821042a8e860e873 (patch)
tree079a5cbc0e1192d006c97e3283bfb81da4f6fb1b /src/util
parenta50f977b02c5653e03d4f3d9d8c7df1f9e2be48e (diff)
Initial work on sygusNormalForm.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/datatype.cpp4
-rw-r--r--src/util/datatype.h3
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,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback