Browse Source

Added debugging messages for transformations

tempestpy_adaptions
Alexander Bork 6 years ago
parent
commit
a0c42fa630
  1. 6
      src/storm-dft/transformations/DftTransformator.cpp

6
src/storm-dft/transformations/DftTransformator.cpp

@ -96,6 +96,8 @@ namespace storm {
} }
// At this point the DFT is an exact copy of the original, except for all constant failure probabilities being 0 // At this point the DFT is an exact copy of the original, except for all constant failure probabilities being 0
// Introduce new constantly failed BE and FDEPs to trigger all failures
if (!failedBEs.empty()) { if (!failedBEs.empty()) {
builder.addBasicElementConst("Unique_Constant_Failure", true); builder.addBasicElementConst("Unique_Constant_Failure", true);
failedBEs.insert(std::begin(failedBEs), "Unique_Constant_Failure"); failedBEs.insert(std::begin(failedBEs), "Unique_Constant_Failure");
@ -104,7 +106,7 @@ namespace storm {
builder.setTopLevel(dft.getTopLevelGate()->name()); builder.setTopLevel(dft.getTopLevelGate()->name());
STORM_LOG_DEBUG("Transformation complete!");
STORM_LOG_DEBUG("Transformation UniqueFailedBe complete!");
return std::make_shared<storm::storage::DFT<ValueType>>(builder.build()); return std::make_shared<storm::storage::DFT<ValueType>>(builder.build());
} }
@ -229,7 +231,7 @@ namespace storm {
builder.setTopLevel(dft.getTopLevelGate()->name()); builder.setTopLevel(dft.getTopLevelGate()->name());
STORM_LOG_DEBUG("Transformation complete!");
STORM_LOG_DEBUG("Transformation BinaryFDEPs complete!");
return std::make_shared<storm::storage::DFT<ValueType>>(builder.build()); return std::make_shared<storm::storage::DFT<ValueType>>(builder.build());
} }

Loading…
Cancel
Save