9template<
typename ValueType>
59 template<
typename NewValueType>
62 for (
auto const& stateValuePair : distribution) {
63 newDistribution.
addProbability(stateValuePair.first, storm::utility::convertNumber<NewValueType>(stateValuePair.second));
72template<
typename ValueType>
73std::ostream&
operator<<(std::ostream& out, SchedulerChoice<ValueType>
const& schedulerChoice);
void addProbability(StateType const &state, ValueType const &probability)
Assigns the given state the given probability under this distribution.
uint_fast64_t getDeterministicChoice() const
If this choice is deterministic, this function returns the selected (local) choice index.
storm::storage::Distribution< ValueType, uint_fast64_t > const & getChoiceAsDistribution() const
Retrieves this choice in the form of a probability distribution.
SchedulerChoice()
Creates an undefined scheduler choice.
bool isDeterministic() const
Returns true iff this scheduler choice is deterministic (i.e., not randomized)
SchedulerChoice< NewValueType > toValueType() const
Changes the value type of this scheduler choice to the given one.
bool isDefined() const
Returns true iff this scheduler choice is defined.
std::ostream & operator<<(std::ostream &out, ParameterRegion< ParametricType > const ®ion)