Browse Source

First changes for SEQ

Former-commit-id: a9fa9b0818
tempestpy_adaptions
mdeutschen 8 years ago
committed by Sebastian Junges
parent
commit
25195abcc4
  1. 8
      src/transformations/dft/DftToGspnTransformator.cpp

8
src/transformations/dft/DftToGspnTransformator.cpp

@ -22,6 +22,9 @@ namespace storm {
// When all DFT elements are drawn, draw the connections between them.
drawGSPNConnections();
// TODO: For sequences:
// drawGSPNRestrictions(); ?
// Write GSPN to file.
writeGspn(true);
}
@ -53,7 +56,7 @@ namespace storm {
drawPOR(std::static_pointer_cast<storm::storage::DFTPor<ValueType> const>(dftElement));
break;
case storm::storage::DFTElementType::SEQ:
STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "The transformation of a SEQ is not yet implemented.");
// No method call needed here. SEQ only consists of restrictions, which are handled later.
break;
case storm::storage::DFTElementType::MUTEX:
STORM_LOG_THROW(false, storm::exceptions::NotImplementedException, "The transformation of a MUTEX is not yet implemented.");
@ -353,7 +356,10 @@ namespace storm {
break;
}
case storm::storage::DFTElementType::SEQ:
{
// Sequences are realized with restrictions. Nothing to do here.
break;
}
case storm::storage::DFTElementType::MUTEX:
break;
case storm::storage::DFTElementType::BE:

Loading…
Cancel
Save