Browse Source

Added comments

tempestpy_adaptions
Matthias Volk 7 years ago
parent
commit
c9b66b2492
  1. 12
      src/storm-dft/transformations/DftToGspnTransformator.h

12
src/storm-dft/transformations/DftToGspnTransformator.h

@ -156,7 +156,8 @@ namespace storm {
*
* @return Id of added failed place.
*/
uint64_t addFailedPlace(std::shared_ptr<storm::storage::DFTElement<ValueType> const> dftElement, storm::gspn::LayoutInfo const& layoutInfo, bool initialFailed = false);
uint64_t
addFailedPlace(std::shared_ptr<storm::storage::DFTElement<ValueType> const> dftElement, storm::gspn::LayoutInfo const &layoutInfo, bool initialFailed = false);
/*!
* Add unavailable place for element.
@ -167,7 +168,8 @@ namespace storm {
*
* @return Id of added unavailable place.
*/
uint64_t addUnavailablePlace(std::shared_ptr<storm::storage::DFTElement<ValueType> const> dftElement, storm::gspn::LayoutInfo const& layoutInfo, bool initialAvailable = true);
uint64_t addUnavailablePlace(std::shared_ptr<storm::storage::DFTElement<ValueType> const> dftElement, storm::gspn::LayoutInfo const &layoutInfo,
bool initialAvailable = true);
/*!
* Add disabled place for element.
@ -193,9 +195,12 @@ namespace storm {
storm::storage::DFT<ValueType> const& mDft;
storm::gspn::GspnBuilder builder;
// Options
// Transformation options
// Flag indicating if smart semantics should be used. Smart semantics will only generate necessary parts of the GSPNs.
bool smart;
// Flag indicating if Don't Care places and Failed places should be merged.
bool mergedDCFailed;
// Set of DFT elements which should have Don't Care propagation.
std::set<uint64_t> dontCareElements;
// Interface places for DFT elements
@ -210,6 +215,7 @@ namespace storm {
static constexpr const char* STR_FAILSAVE = "_failsave"; // Name standard for place which indicates the failsave state of a gate.
static constexpr const char* STR_ACTIVATING = "_activating"; // Name standard for transition that point towards a place, which in turn indicates its activity.
static constexpr const char* STR_ACTIVATED = "_active"; // Name standard for place which indicates the activity.
static constexpr const char* STR_DONTCARE = "_dontcare"; // Name standard for place which indicates Don't Care.
};
}
}

Loading…
Cancel
Save