Browse Source

Disabled some debug output

Former-commit-id: 31ae65f255
tempestpy_adaptions
Mavo 9 years ago
parent
commit
0775bdf549
  1. 2
      examples/dft/voting.dft
  2. 1
      src/builder/ExplicitDFTModelBuilder.cpp
  3. 5
      src/storm-dyftee.cpp

2
examples/dft/voting.dft

@ -1,5 +1,5 @@
toplevel "A"; toplevel "A";
"A" vot1 "B" "C" "D";
"A" 1of3 "B" "C" "D";
"B" lambda=0.1 dorm=0; "B" lambda=0.1 dorm=0;
"C" lambda=0.2 dorm=0; "C" lambda=0.2 dorm=0;
"D" lambda=0.3 dorm=0; "D" lambda=0.3 dorm=0;

1
src/builder/ExplicitDFTModelBuilder.cpp

@ -99,7 +99,6 @@ namespace storm {
storm::storage::DFTState<ValueType> newState(state); storm::storage::DFTState<ValueType> newState(state);
std::pair<std::shared_ptr<storm::storage::DFTBE<ValueType>>, bool> nextBE = newState.letNextBEFail(smallest++); std::pair<std::shared_ptr<storm::storage::DFTBE<ValueType>>, bool> nextBE = newState.letNextBEFail(smallest++);
if (nextBE.first == nullptr) { if (nextBE.first == nullptr) {
std::cout << "break" << std::endl;
break; break;
} }

5
src/storm-dyftee.cpp

@ -31,10 +31,9 @@ void analyzeDFT(std::string filename, std::string property) {
assert(formulas.size() == 1); assert(formulas.size() == 1);
std::unique_ptr<storm::modelchecker::CheckResult> resultCtmc(storm::verifySparseModel(model, formulas[0])); std::unique_ptr<storm::modelchecker::CheckResult> resultCtmc(storm::verifySparseModel(model, formulas[0]));
assert(resultCtmc); assert(resultCtmc);
std::cout << "Result (initial states): ";
std::cout << "Result: ";
resultCtmc->filter(storm::modelchecker::ExplicitQualitativeCheckResult(model->getInitialStates())); resultCtmc->filter(storm::modelchecker::ExplicitQualitativeCheckResult(model->getInitialStates()));
std::cout << *resultCtmc << std::endl; std::cout << *resultCtmc << std::endl;
std::cout << "Checked CTMC" << std::endl;
} }
/*! /*!
@ -65,7 +64,7 @@ int main(int argc, char** argv) {
} }
storm::utility::setUp(); storm::utility::setUp();
log4cplus::LogLevel level = log4cplus::TRACE_LOG_LEVEL;
log4cplus::LogLevel level = log4cplus::WARN_LOG_LEVEL;
logger.setLogLevel(level); logger.setLogLevel(level);
logger.getAppender("mainConsoleAppender")->setThreshold(level); logger.getAppender("mainConsoleAppender")->setThreshold(level);

Loading…
Cancel
Save