diff --git a/src/core/counterexample.cpp b/src/core/counterexample.cpp index cd350db..b572f5a 100644 --- a/src/core/counterexample.cpp +++ b/src/core/counterexample.cpp @@ -12,6 +12,19 @@ void define_counterexamples(py::module& m) { .def("__str__", [](boost::container::flat_set const& set) { std::stringstream str; str << "["; for(auto const& i : set) { str << i << ", ";} str << "]"; return str.str(); }) .def("__len__", [](boost::container::flat_set const& set) { return set.size();}) ; + + using CexGeneratorStats = SMTMinimalLabelSetGenerator::GeneratorStats; + + py::class_(m, "SMTCounterExampleGeneratorStats", "Stats for highlevel counterexample generation") + .def(py::init<>()) + .def_readonly("analysis_time", &CexGeneratorStats::analysisTime) + .def_readonly("setup_time", &CexGeneratorStats::setupTime) + .def_readonly("model_checking_time", &CexGeneratorStats::modelCheckingTime) + .def_readonly("solver_time", &CexGeneratorStats::solverTime); + + + + using CexGeneratorOptions = SMTMinimalLabelSetGenerator::Options; py::class_(m, "SMTCounterExampleGeneratorOptions", "Options for highlevel counterexample generation") .def(py::init<>())