20 virtual bool canHandle(
const fs::path& path)
const override {
26 if (
result.stdout.find(
"unsat") != std::string::npos)
result.answer =
"unsat";
27 else if (
result.stdout.find(
"sat") != std::string::npos)
result.answer =
"sat";
28 else if (
result.stdout.find(
"unknown") != std::string::npos)
result.answer =
"unknown";
29 else if (
result.stdout.find(
"out of memory") != std::string::npos)
result.answer =
"memout";
30 else result.answer =
"invalid";
Tool wrapper for MathSAT for SMT-LIB.
MathSAT(const fs::path &binary, const std::string &arguments)
New MathSAT tool.
virtual bool canHandle(const fs::path &path) const override
Only handle .smt2 files.
virtual void additionalResults(const fs::path &, BenchmarkResult &result) const override
Computes the answer string from the exit code and parses statistics output.
bool is_extension(const std::filesystem::path &path, const std::string &extension)
Checks whether the extension of the filename is as specified.
Results for a single benchmark run.