14 TargetHelperType& targetHelper, SourceHelperType
const& sourceHelperType,
15 std::function<
typename TargetHelperType::StateSet(
typename SourceHelperType::StateSet
const&)>
const& stateSetTransformer) {
17 if (sourceHelperType.hasRelevantStates()) {
18 targetHelper.setRelevantStates(stateSetTransformer(sourceHelperType.getRelevantStates()));
21 if (sourceHelperType.isValueThresholdSet()) {
22 targetHelper.setValueThreshold(sourceHelperType.getValueThresholdComparisonType(),
23 storm::utility::convertNumber<typename TargetHelperType::ValueType>(sourceHelperType.getValueThresholdValue()));
26 if (sourceHelperType.isOptimizationDirectionSet()) {
27 targetHelper.setOptimizationDirection(sourceHelperType.getOptimizationDirection());
30 targetHelper.setProduceScheduler(sourceHelperType.isProduceSchedulerSet());
38 TargetHelperType& targetHelper, SourceHelperType
const& sourceHelperType,
39 std::function<
typename TargetHelperType::StateSet(
typename SourceHelperType::StateSet
const&)>
const& stateSetTransformer) {
41 if (sourceHelperType.hasRelevantStates()) {
42 targetHelper.setRelevantStates(stateSetTransformer(sourceHelperType.getRelevantStates()));
45 if (sourceHelperType.isValueThresholdSet()) {
46 targetHelper.setValueThreshold(sourceHelperType.getValueThresholdComparisonType(),
47 storm::utility::convertNumber<typename TargetHelperType::ValueType>(sourceHelperType.getValueThresholdValue()));
void setInformationFromOtherHelperNondeterministic(TargetHelperType &targetHelper, SourceHelperType const &sourceHelperType, std::function< typename TargetHelperType::StateSet(typename SourceHelperType::StateSet const &)> const &stateSetTransformer)
Forwards relevant information stored in another helper to the given helper.
void setInformationFromOtherHelperDeterministic(TargetHelperType &targetHelper, SourceHelperType const &sourceHelperType, std::function< typename TargetHelperType::StateSet(typename SourceHelperType::StateSet const &)> const &stateSetTransformer)
Forwards relevant information stored in another helper to the given helper.