Browse Source

Added check if DFT transformation is needed

tempestpy_adaptions
Alexander Bork 6 years ago
parent
commit
1d505d2ee0
  1. 4
      src/storm-dft-cli/storm-dft.cpp

4
src/storm-dft-cli/storm-dft.cpp

@ -57,8 +57,9 @@ void processOptions() {
}
// Eliminate non-binary dependencies
if (dft->getDependencies().size() > 0) {
dft = dftTransformator.transformBinaryFDEPs(*dft);
}
// Check well-formedness of DFT
std::stringstream stream;
if (!dft->checkWellFormedness(stream)) {
@ -88,6 +89,7 @@ void processOptions() {
#ifdef STORM_HAVE_Z3
if (faultTreeSettings.solveWithSMT()) {
dft = dftTransformator.transformUniqueFailedBe(*dft);
// Solve with SMT
STORM_LOG_DEBUG("Running DFT analysis with use of SMT");
storm::api::analyzeDFTSMT(*dft, true, debug.isTestSet());

Loading…
Cancel
Save