Browse Source

added more stats output to SMT-based high-level cex

tempestpy_adaptions
dehnert 7 years ago
parent
commit
5dff46c648
  1. 6
      src/storm/counterexamples/SMTMinimalLabelSetGenerator.h

6
src/storm/counterexamples/SMTMinimalLabelSetGenerator.h

@ -1780,7 +1780,13 @@ namespace storm {
// Compute and emit the time measurements if the corresponding flag was set.
totalTime = std::chrono::high_resolution_clock::now() - totalClock;
if (storm::settings::getModule<storm::settings::modules::CoreSettings>().isShowStatisticsSet()) {
boost::container::flat_set<uint64_t> allLabels;
for (auto const& e : labelSets) {
allLabels.insert(e.begin(), e.end());
}
std::cout << "Metrics:" << std::endl;
std::cout << " * all labels: " << allLabels.size() << std::endl;
std::cout << " * known labels: " << relevancyInformation.knownLabels.size() << std::endl;
std::cout << " * relevant labels: " << (relevancyInformation.knownLabels.size() + relevancyInformation.relevantLabels.size()) << std::endl;
std::cout << std::endl;

Loading…
Cancel
Save