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.
39 lines
1.2 KiB
39 lines
1.2 KiB
#include "storm/builder/RewardModelInformation.h"
|
|
|
|
namespace storm {
|
|
namespace builder {
|
|
|
|
RewardModelInformation::RewardModelInformation(std::string const& name, bool stateRewards, bool stateActionRewards, bool transitionRewards) : name(name), stateRewards(stateRewards), stateActionRewards(stateActionRewards), transitionRewards(transitionRewards) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
std::string const& RewardModelInformation::getName() const {
|
|
return name;
|
|
}
|
|
|
|
bool RewardModelInformation::hasStateRewards() const {
|
|
return stateRewards;
|
|
}
|
|
|
|
bool RewardModelInformation::hasStateActionRewards() const {
|
|
return stateActionRewards;
|
|
}
|
|
|
|
bool RewardModelInformation::hasTransitionRewards() const {
|
|
return transitionRewards;
|
|
}
|
|
|
|
void RewardModelInformation::setHasStateRewards() {
|
|
stateRewards = true;
|
|
}
|
|
|
|
void RewardModelInformation::setHasStateActionRewards() {
|
|
stateActionRewards = true;
|
|
}
|
|
|
|
void RewardModelInformation::setHasTransitionRewards() {
|
|
transitionRewards = true;
|
|
}
|
|
|
|
}
|
|
}
|