diff options
Diffstat (limited to 'examples/api/cpp/utils.h')
-rw-r--r-- | examples/api/cpp/utils.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/api/cpp/utils.h b/examples/api/cpp/utils.h new file mode 100644 index 000000000..69cddee26 --- /dev/null +++ b/examples/api/cpp/utils.h @@ -0,0 +1,29 @@ +/****************************************************************************** + * Top contributors (to current version): + * Abdalrhman Mohamed + * + * This file is part of the cvc5 project. + * + * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS + * in the top-level source directory and their institutional affiliations. + * All rights reserved. See the file COPYING in the top-level source + * directory for licensing information. + * **************************************************************************** + * + * Utility methods. + */ + +#ifndef CVC5__UTILS_H +#define CVC5__UTILS_H + +#include <cvc5/cvc5.h> + +/** + * Print solutions for synthesis conjecture to the standard output stream. + * @param terms the terms for which the synthesis solutions were retrieved + * @param sols the synthesis solutions of the given terms + */ +void printSynthSolutions(const std::vector<cvc5::api::Term>& terms, + const std::vector<cvc5::api::Term>& sols); + +#endif // CVC5__UTILS_H |