|
|
@ -26,6 +26,10 @@ namespace storm { |
|
|
|
return this->mContainsRewardBoundedFormula; |
|
|
|
} |
|
|
|
|
|
|
|
bool FormulaInformation::containsLongRunFormula() const { |
|
|
|
return this->mContainsLongRunFormula; |
|
|
|
} |
|
|
|
|
|
|
|
FormulaInformation FormulaInformation::join(FormulaInformation const& other) { |
|
|
|
FormulaInformation result; |
|
|
|
result.mContainsRewardOperator = this->containsRewardOperator() || other.containsRewardOperator(); |
|
|
@ -33,6 +37,7 @@ namespace storm { |
|
|
|
result.mContainsBoundedUntilFormula = this->containsBoundedUntilFormula() || other.containsBoundedUntilFormula(); |
|
|
|
result.mContainsCumulativeRewardFormula = this->containsCumulativeRewardFormula() || other.containsCumulativeRewardFormula(); |
|
|
|
result.mContainsRewardBoundedFormula = this->containsRewardBoundedFormula() || other.containsRewardBoundedFormula(); |
|
|
|
result.mContainsLongRunFormula = this->containsLongRunFormula() || other.containsLongRunFormula(); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
@ -60,5 +65,10 @@ namespace storm { |
|
|
|
this->mContainsRewardBoundedFormula = newValue; |
|
|
|
return *this; |
|
|
|
} |
|
|
|
|
|
|
|
FormulaInformation& FormulaInformation::setContainsLongRunFormula(bool newValue) { |
|
|
|
this->mContainsLongRunFormula = newValue; |
|
|
|
return *this; |
|
|
|
} |
|
|
|
} |
|
|
|
} |