Avoid using printSynthSolution in the python API and examples (#6564)
authoryoni206 <yoni206@users.noreply.github.com>
Thu, 20 May 2021 15:29:27 +0000 (08:29 -0700)
committerGitHub <noreply@github.com>
Thu, 20 May 2021 15:29:27 +0000 (15:29 +0000)
commitbfa34c539319746dd3c247851cbbb8db86625fd0
tree15d07e4da06d69649ee19706c04ca85f67c037e8
parent777b1a5f2bbfec6040e292cc182f5ec5f48d03e5
Avoid using printSynthSolution in the python API and examples (#6564)

The function printSynthSolution declared here is going to be removed in #6521.

This PR removes it from the python API.
Following #6530, this PR also replaces its usages in the examples by a utility function.
For this, we also add support for getSynthSolutions in the python API.
examples/api/python/CMakeLists.txt
examples/api/python/__init__.py [new file with mode: 0644]
examples/api/python/sygus-fun.py
examples/api/python/sygus-grammar.py
examples/api/python/sygus-inv.py
examples/api/python/utils.py [new file with mode: 0644]
examples/api/utils.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi