12template<
class ValueType,
typename RewardModelType = StandardRewardModel<ValueType>>
23 std::unordered_map<std::string, RewardModelType>
const& rewardModels = std::unordered_map<std::string, RewardModelType>());
33 std::unordered_map<std::string, RewardModelType>&& rewardModels = std::unordered_map<std::string, RewardModelType>());
80 std::vector<ValueType> exitRates;
Ctmc & operator=(Ctmc< ValueType, RewardModelType > const &ctmc)=default
storm::storage::SparseMatrix< ValueType > computeProbabilityMatrix() const
Ctmc & operator=(Ctmc< ValueType, RewardModelType > &&ctmc)=default
virtual void reduceToStateBasedRewards() override
Converts the transition rewards of all reward models to state-based rewards.
Ctmc(Ctmc< ValueType, RewardModelType > const &ctmc)=default
Ctmc(Ctmc< ValueType, RewardModelType > &&ctmc)=default
Ctmc(storm::storage::SparseMatrix< ValueType > const &rateMatrix, storm::models::sparse::StateLabeling const &stateLabeling, std::unordered_map< std::string, RewardModelType > const &rewardModels=std::unordered_map< std::string, RewardModelType >())
Constructs a model from the given data.
std::vector< ValueType > const & getExitRateVector() const
Retrieves the vector of exit rates of the model.
DeterministicModel(ModelType modelType, storm::storage::sparse::ModelComponents< ValueType, RewardModelType > const &components)
Constructs a model from the given data.
This class manages the labeling of the state space with a number of (atomic) labels.
A class that holds a possibly non-square matrix in the compressed row storage format.