|
|
@ -30,8 +30,9 @@ namespace storm { |
|
|
|
std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>(), |
|
|
|
bool rateTransitions = false, |
|
|
|
boost::optional<storm::storage::BitVector> const& markovianStates = boost::none, |
|
|
|
boost::optional<storm::storage::SparseMatrix<storm::storage::sparse::state_type>> const& player1Matrix = boost::none) |
|
|
|
: transitionMatrix(transitionMatrix), stateLabeling(stateLabeling), rewardModels(rewardModels), rateTransitions(rateTransitions), markovianStates(markovianStates), player1Matrix(player1Matrix) { |
|
|
|
boost::optional<storm::storage::SparseMatrix<storm::storage::sparse::state_type>> const& player1Matrix = boost::none, |
|
|
|
boost::optional<std::vector<uint_fast32_t>> const& playerActionIndices = boost::none) |
|
|
|
: transitionMatrix(transitionMatrix), stateLabeling(stateLabeling), rewardModels(rewardModels), rateTransitions(rateTransitions), markovianStates(markovianStates), player1Matrix(player1Matrix), playerActionIndices(playerActionIndices) { |
|
|
|
// Intentionally left empty |
|
|
|
} |
|
|
|
|
|
|
@ -40,8 +41,9 @@ namespace storm { |
|
|
|
std::unordered_map<std::string, RewardModelType>&& rewardModels = std::unordered_map<std::string, RewardModelType>(), |
|
|
|
bool rateTransitions = false, |
|
|
|
boost::optional<storm::storage::BitVector>&& markovianStates = boost::none, |
|
|
|
boost::optional<storm::storage::SparseMatrix<storm::storage::sparse::state_type>>&& player1Matrix = boost::none) |
|
|
|
: transitionMatrix(std::move(transitionMatrix)), stateLabeling(std::move(stateLabeling)), rewardModels(std::move(rewardModels)), rateTransitions(rateTransitions), markovianStates(std::move(markovianStates)), player1Matrix(std::move(player1Matrix)) { |
|
|
|
boost::optional<storm::storage::SparseMatrix<storm::storage::sparse::state_type>>&& player1Matrix = boost::none, |
|
|
|
boost::optional<std::vector<uint_fast32_t>>&& playerActionIndices = boost::none) |
|
|
|
: transitionMatrix(std::move(transitionMatrix)), stateLabeling(std::move(stateLabeling)), rewardModels(std::move(rewardModels)), rateTransitions(rateTransitions), markovianStates(std::move(markovianStates)), player1Matrix(std::move(player1Matrix)), playerActionIndices(std::move(playerActionIndices)) { |
|
|
|
// Intentionally left empty |
|
|
|
} |
|
|
|
|
|
|
@ -80,6 +82,10 @@ namespace storm { |
|
|
|
// Stochastic two player game specific components: |
|
|
|
// The matrix of player 1 choices (needed for stochastic two player games |
|
|
|
boost::optional<storm::storage::SparseMatrix<storm::storage::sparse::state_type>> player1Matrix; |
|
|
|
|
|
|
|
// Stochastic multiplayer game specific components: |
|
|
|
// The vector mapping state choices to players |
|
|
|
boost::optional<std::vector<uint_fast32_t>> playerActionIndices; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |