-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into python-api-mkbitvector
- Loading branch information
Showing
38 changed files
with
516 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
Datatype | ||
======== | ||
|
||
This class represents a datatype. A :cpp:class:`cvc5::Datatype` is encapsulated | ||
by a datatype :cpp:class:`Sort <cvc5::Sort>` and can be retrieved from a | ||
datatype sort via :cpp:func:`cvc5::Sort::getDatatype()`. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::Datatype` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const Datatype& dt)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::Datatype | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const Datatype& dt) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,24 @@ | ||
DatatypeConstructor | ||
=================== | ||
|
||
This class represents a datatype constructor. Datatype constructors are | ||
specified via :cpp:class:`cvc5::DatatypeConstructorDecl` when constructing a | ||
datatype sort and can be retrieved from a :cpp:class:`cvc5::Datatype` via | ||
:cpp:func:`cvc5::Datatype::getConstructor()`. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::DatatypeConstructor` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const DatatypeConstructor& cons)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::DatatypeConstructor | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const DatatypeConstructor& cons) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,31 @@ | ||
DatatypeConstructorDecl | ||
======================= | ||
|
||
This class encapsulates a datatype constructor declaration. A datatype | ||
constructor declaration is constructed via | ||
:cpp:func:`cvc5::Solver::mkDatatypeConstructorDecl()`. This is not a | ||
datatype itself (see :doc:`datatype`), but the representation of the | ||
specification for creating a datatype constructor of a datatype | ||
:cpp:class:`Sort <cvc5::Sort>` (see :cpp:func:`cvc5::Solver::mkDatatypeSort()` | ||
and :cpp:func:`cvc5::Solver::mkDatatypeSorts()`). | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::DatatypeConstructorDecl` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const DatatypeConstructorDecl& decl)` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const std::vector<DatatypeConstructorDecl>& vector)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::DatatypeConstructorDecl | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const DatatypeConstructorDecl& decl) | ||
:project: cvc5 | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const std::vector<DatatypeConstructorDecl>& vector) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
DatatypeDecl | ||
============ | ||
|
||
This class encapsulates a datatype declaration. A datatype declaration is | ||
constructed via :cpp:func:`cvc5::Solver::mkDatatypeDecl()`. This is not a | ||
datatype itself (see :doc:`datatype`), but the representation of the | ||
specification for creating a datatype :cpp:class:`Sort <cvc5::Sort>` (see | ||
:cpp:func:`cvc5::Solver::mkDatatypeSort()` and | ||
:cpp:func:`cvc5::Solver::mkDatatypeSorts()`). | ||
|
||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::DatatypeDecl` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const DatatypeDecl& decl)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::DatatypeDecl | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const DatatypeDecl& decl) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
DatatypeSelector | ||
================ | ||
|
||
This class represents a datatype selector. Datatype selectors are | ||
specified via :cpp:func:`cvc5::DatatypeConstructorDecl::addSelector()` when | ||
constructing a datatype sort and can be retrieved from a | ||
:cpp:class:`cvc5::DatatypeConstructor` via | ||
:cpp:func:`cvc5::DatatypeConstructor::getSelector()`. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::DatatypeSelector` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const DatatypeSelector& sel)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::DatatypeSelector | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const DatatypeSelector& sel) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,24 @@ | ||
Grammar | ||
======= | ||
|
||
This class encapsulates a SyGuS grammar. It is created via | ||
:cpp:func:`cvc5::Solver::mkGrammar()` and allows to define a context-free | ||
grammar of terms, according to the definition of grammars in the SyGuS IF 2.1 | ||
standard. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::Grammar` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const Grammar& g)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::Grammar | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const Grammar& g) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,52 @@ | ||
Modes | ||
====== | ||
|
||
.. doxygennamespace:: cvc5::modes | ||
Some API functions require a configuration mode argument, e.g., | ||
:cpp:func:`cvc5::Solver::blockModel()`. | ||
The following enum classes define such configuration modes. | ||
|
||
---- | ||
|
||
- enum class :cpp:enum:`cvc5::modes::BlockModelsMode` | ||
- :cpp:func:`std::ostream& cvc5::modes::operator<< (std::ostream& out, BlockModelsMode mode)` | ||
|
||
- enum class :cpp:enum:`cvc5::modes::LearnedLitType` | ||
- :cpp:func:`std::ostream& cvc5::modes::operator<< (std::ostream& out, LearnedLitType type)` | ||
|
||
- enum class :cpp:enum:`cvc5::modes::ProofComponent` | ||
- :cpp:func:`std::ostream& cvc5::modes::operator<< (std::ostream& out, ProofComponent pc)` | ||
|
||
- enum class :cpp:enum:`cvc5::modes::FindSynthTarget` | ||
- :cpp:func:`std::ostream& cvc5::modes::operator<< (std::ostream& out, FindSynthTarget target)` | ||
|
||
---- | ||
|
||
.. doxygenenum:: cvc5::modes::BlockModelsMode | ||
:project: cvc5 | ||
|
||
.. doxygenfunction:: cvc5::modes::operator<<(std::ostream& out, BlockModelsMode mode) | ||
:project: cvc5 | ||
|
||
---- | ||
|
||
.. doxygenenum:: cvc5::modes::LearnedLitType | ||
:project: cvc5 | ||
|
||
.. doxygenfunction:: cvc5::modes::operator<<(std::ostream& out, LearnedLitType type) | ||
:project: cvc5 | ||
|
||
---- | ||
|
||
.. doxygenenum:: cvc5::modes::ProofComponent | ||
:project: cvc5 | ||
|
||
.. doxygenfunction:: cvc5::modes::operator<<(std::ostream& out, ProofComponent pc) | ||
:project: cvc5 | ||
|
||
---- | ||
|
||
.. doxygenenum:: cvc5::modes::FindSynthTarget | ||
:project: cvc5 | ||
|
||
.. doxygenfunction:: cvc5::modes::operator<<(std::ostream& out, FindSynthTarget target) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
OptionInfo | ||
========== | ||
|
||
This class encapsulates all the information associated with a configuration | ||
option. It can be retrieved via :cpp:func:`cvc5::Solver::getOptionInfo()` | ||
and allows to query any configuration information associated with an option. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::OptionInfo` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const OptionInfo& info)` | ||
|
||
---- | ||
|
||
.. doxygenstruct:: cvc5::OptionInfo | ||
:project: cvc5 | ||
:members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const OptionInfo& info) | ||
:project: cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
Result | ||
====== | ||
|
||
This class represents a :cpp:class:`cvc5::Solver` result. | ||
|
||
A :cpp:class:`cvc5::Result` encapsulates a 3-valued solver result (sat, unsat, | ||
unknown). Explanations for unknown results are represented as enum class | ||
:cpp:enum:`cvc5::UnknownExplanation` and can be queried via | ||
:cpp:func:`cvc5::Result::getUnknownExplanation()`. | ||
|
||
---- | ||
|
||
- class :cpp:class:`cvc5::Result` | ||
- :cpp:func:`std::ostream& cvc5::operator<< (std::ostream& out, const Result& r)` | ||
|
||
---- | ||
|
||
.. doxygenclass:: cvc5::Result | ||
:project: cvc5 | ||
:members: | ||
:undoc-members: | ||
|
||
---- | ||
|
||
.. doxygenfunction:: cvc5::operator<<(std::ostream& out, const Result& r) | ||
:project: cvc5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
RoundingMode | ||
============ | ||
|
||
This enum class represents a floating-point rounding mode. | ||
|
||
---- | ||
|
||
- enum class :cpp:enum:`cvc5::RoundingMode` | ||
|
||
---- | ||
|
||
.. doxygenenum:: cvc5::RoundingMode | ||
:project: cvc5 | ||
|
||
|
Oops, something went wrong.