You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.2 KiB
65 lines
2.2 KiB
#pragma once
|
|
|
|
#include "storm/settings/modules/ModuleSettings.h"
|
|
|
|
namespace storm {
|
|
namespace settings {
|
|
namespace modules {
|
|
|
|
/*!
|
|
* This class represents the settings for operations concerning the DFT to GSPN transformation.
|
|
*/
|
|
class DftGspnSettings : public ModuleSettings {
|
|
public:
|
|
|
|
/*!
|
|
* Creates a new set of DFT-GSPN settings.
|
|
*/
|
|
DftGspnSettings();
|
|
|
|
/*!
|
|
* Retrieves whether the DFT should be transformed into a GSPN.
|
|
*
|
|
* @return True iff the option was set.
|
|
*/
|
|
bool isTransformToGspn() const;
|
|
|
|
/*!
|
|
* Retrieves whether the smart transformation should be disabled.
|
|
*
|
|
* @return True if the smart transformation should be disabled.
|
|
*/
|
|
bool isDisableSmartTransformation() const;
|
|
|
|
/*!
|
|
* Retrieves whether the DC and failed place should be merged.
|
|
*
|
|
* @return True if the merge of DC and failed place is enabled.
|
|
*/
|
|
bool isMergeDCFailed() const;
|
|
|
|
/*!
|
|
* Retrieves whether the experimental setting of priorities should be used
|
|
*
|
|
* @return True if the settig is enabled is enabled.
|
|
*/
|
|
bool isExtendPriorities() const;
|
|
|
|
bool check() const override;
|
|
|
|
void finalize() override;
|
|
|
|
// The name of the module.
|
|
static const std::string moduleName;
|
|
|
|
private:
|
|
// Define the string names of the options as constants.
|
|
static const std::string transformToGspnOptionName;
|
|
static const std::string disableSmartTransformationOptionName;
|
|
static const std::string mergeDCFailedOptionName;
|
|
static const std::string extendPrioritiesOptionName;
|
|
};
|
|
|
|
} // namespace modules
|
|
} // namespace settings
|
|
} // namespace storm
|