summaryrefslogtreecommitdiff
path: root/src/api/cvc4cpp.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-02 16:02:41 -0500
committerGitHub <noreply@github.com>2020-09-02 16:02:41 -0500
commit2d6d62b7bc0c15a44b38641a52ba389591ecc7f6 (patch)
treee11ae0a24c157cf01dbcf287727240b4e75b7b8a /src/api/cvc4cpp.h
parentdba70e10ef8ae0a991969cb7ca0cba2d0e9d9d4d (diff)
parent0f9fb31069d51e003a39b0e93f506324dec2bdac (diff)
Merge branch 'master' into fixCMSBuildPRfixCMSBuildPR
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r--src/api/cvc4cpp.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h
index 0c322d7da..acf34abf9 100644
--- a/src/api/cvc4cpp.h
+++ b/src/api/cvc4cpp.h
@@ -2153,6 +2153,12 @@ class CVC4_PUBLIC Solver
Solver& operator=(const Solver&) = delete;
/* .................................................................... */
+ /* Solver Configuration */
+ /* .................................................................... */
+
+ bool supportsFloatingPoint() const;
+
+ /* .................................................................... */
/* Sorts Handling */
/* .................................................................... */
@@ -2184,7 +2190,7 @@ class CVC4_PUBLIC Solver
/**
* @return sort RoundingMode
*/
- Sort getRoundingmodeSort() const;
+ Sort getRoundingModeSort() const;
/**
* @return sort String
@@ -2248,8 +2254,9 @@ class CVC4_PUBLIC Solver
* @param unresolvedSorts the list of unresolved sorts
* @return the datatype sorts
*/
- std::vector<Sort> mkDatatypeSorts(std::vector<DatatypeDecl>& dtypedecls,
- std::set<Sort>& unresolvedSorts) const;
+ std::vector<Sort> mkDatatypeSorts(
+ const std::vector<DatatypeDecl>& dtypedecls,
+ const std::set<Sort>& unresolvedSorts) const;
/**
* Create function sort.
@@ -3169,7 +3176,9 @@ class CVC4_PUBLIC Solver
Term mkSygusVar(Sort sort, const std::string& symbol = std::string()) const;
/**
- * Create a Sygus grammar.
+ * Create a Sygus grammar. The first non-terminal is treated as the starting
+ * non-terminal, so the order of non-terminals matters.
+ *
* @param boundVars the parameters to corresponding synth-fun/synth-inv
* @param ntSymbols the pre-declaration of the non-terminal symbols
* @return the grammar
@@ -3345,8 +3354,8 @@ class CVC4_PUBLIC Solver
* @return the datatype sorts
*/
std::vector<Sort> mkDatatypeSortsInternal(
- std::vector<DatatypeDecl>& dtypedecls,
- std::set<Sort>& unresolvedSorts) const;
+ const std::vector<DatatypeDecl>& dtypedecls,
+ const std::set<Sort>& unresolvedSorts) const;
/**
* Synthesize n-ary function following specified syntactic constraints.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback