diff --git a/src/storm/logic/TimeBoundType.h b/src/storm/logic/TimeBoundType.h index 2488baaaf..7200cc89d 100644 --- a/src/storm/logic/TimeBoundType.h +++ b/src/storm/logic/TimeBoundType.h @@ -36,6 +36,11 @@ namespace storm { bool isRewardBound() const { return type == TimeBoundType::Reward; } + + std::string const& getRewardName() const { + assert(isRewardBound()); + return rewardName; + } };