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

Loading…
Cancel
Save