Files
cvc5/examples/api/cpp/utils.h
Abdalrhman Mohamed f1ba9b8542 Show the code for utilities in the docs. (#8387)
This PR adds the code for printing synthesis solutions to the docs. Various other changes are made to increase the consistency between the different bindings.

Signed-off-by: Abdalrhman M Mohamed <abdalrhman-mohamed@uiowa.edu>
2022-03-30 02:11:08 +00:00

34 lines
1.0 KiB
C++

/******************************************************************************
* 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>
namespace utils {
/**
* 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::Term>& terms,
const std::vector<cvc5::Term>& sols);
} // namespace utils
#endif // CVC5__UTILS_H