16 std::set<storm::expressions::Variable>
const& rowVariables,
18 std::set<storm::expressions::Variable>
const& columnVariables,
19 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>>
const& rowColumnMetaVariablePairs,
20 std::map<std::string, storm::expressions::Expression> labelToExpressionMap,
21 std::unordered_map<std::string, RewardModelType>
const& rewardModels)
23 rowVariables, rowExpressionAdapter, columnVariables, rowColumnMetaVariablePairs, labelToExpressionMap, rewardModels) {
30 std::set<storm::expressions::Variable>
const& rowVariables, std::set<storm::expressions::Variable>
const& columnVariables,
31 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>>
const& rowColumnMetaVariablePairs,
32 std::map<std::string,
storm::dd::Bdd<Type>> labelToBddMap, std::unordered_map<std::string, RewardModelType>
const& rewardModels)
34 rowVariables, columnVariables, rowColumnMetaVariablePairs, labelToBddMap, rewardModels) {
49 std::unordered_map<std::string, NewRewardModelType> newRewardModels;
51 for (
auto const& e : this->getRewardModels()) {
52 newRewardModels.emplace(e.first, e.second.template toValueType<NewValueType>());
55 auto newLabelToBddMap = this->getLabelToBddMap();
56 newLabelToBddMap.erase(
"init");
57 newLabelToBddMap.erase(
"deadlock");
59 return std::make_shared<Dtmc<Type, NewValueType>>(this->getManagerAsSharedPointer(), this->getReachableStates(), this->getInitialStates(),
60 this->getDeadlockStates(), this->getTransitionMatrix().template toValueType<NewValueType>(),
61 this->getRowVariables(), this->getColumnVariables(), this->getRowColumnMetaVariablePairs(),
62 newLabelToBddMap, newRewardModels);
Dtmc(storm::storage::SparseMatrix< ValueType > const &transitionMatrix, 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.