12template<
typename ValueType,
typename RewardModelType>
21template<
typename ValueType,
typename RewardModelType>
25 std::unordered_map<std::string, RewardModelType>&& rewardModels)
27 std::move(player2Matrix),
std::move(stateLabeling),
std::move(rewardModels), false,
boost::none,
std::move(player1Matrix))) {
31template<
typename ValueType,
typename RewardModelType>
38template<
typename ValueType,
typename RewardModelType>
44template<
typename ValueType,
typename RewardModelType>
49template<
typename ValueType,
typename RewardModelType>
54template<
typename ValueType,
typename RewardModelType>
59template<
typename ValueType,
typename RewardModelType>
This class manages the labeling of the choice space with a number of (atomic) labels.
storm::models::sparse::ChoiceLabeling const & getChoiceLabeling() const
Retrieves the labels for the choices of the model.
storm::storage::SparseMatrix< ValueType > const & getTransitionMatrix() const
Retrieves the matrix representing the transitions of the model.
bool hasChoiceLabeling() const
Retrieves whether this model has a labeling of the choices.
CRewardModelType RewardModelType
NondeterministicModel(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.
This class represents a (discrete-time) stochastic two-player game.
bool hasPlayer2ChoiceLabeling() const
Retrieves whether the game has labels attached to player 2 states.
storm::storage::SparseMatrix< storm::storage::sparse::state_type > const & getPlayer1Matrix() const
Retrieves the matrix representing the choices in player 1 states.
storm::storage::SparseMatrix< ValueType > const & getPlayer2Matrix() const
Retrieves the matrix representing the choices in player 2 states and the associated probability distr...
StochasticTwoPlayerGame(storm::storage::SparseMatrix< storm::storage::sparse::state_type > const &player1Matrix, storm::storage::SparseMatrix< ValueType > const &player2Matrix, 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.
storm::models::sparse::ChoiceLabeling const & getPlayer2ChoiceLabeling() const
Retrieves the labels attached to the choices of player 2 states.
A class that holds a possibly non-square matrix in the compressed row storage format.