66 std::vector<UnpackedTransition>
const&
getRow(uint64_t row)
const;
80 std::set<storm::RationalFunctionVariable>
const&
getParameters()
const;
92 std::vector<std::vector<UnpackedTransition>> rows;
93 std::vector<UnpackedValue> rewardRows;
94 std::set<storm::RationalFunctionVariable> parameters;
Base class for all sparse models.
AffinePMdpDecomposition(storm::models::sparse::Model< storm::RationalFunction > const &model, storm::models::sparse::StandardRewardModel< storm::RationalFunction > const *rewardModel=nullptr)
std::set< storm::RationalFunctionVariable > const & getParameters() const
All parameters occurring anywhere in the model's transition matrix, or (if a reward model was given t...
uint64_t getNumberOfRows() const
The number of rows (matrix rows, i.e. choices) that were decomposed.
std::vector< UnpackedTransition > const & getRow(uint64_t row) const
The unpacked transitions of the given matrix row (a state for a DTMC, or a single state-action choice...
UnpackedValue const & getReward(uint64_t row) const
The affine decomposition of the reward accrued by taking the given matrix row, from the reward model ...
carl::RationalFunction< Polynomial, true > RationalFunction
The affine part of a single transition (row, successor): UnpackedValue plus which successor state it ...
std::vector< std::pair< storm::RationalFunctionVariable, double > > parameterCoefficients
The affine decomposition of a single scalar quantity, so that everything downstream only ever touches...
std::vector< std::pair< storm::RationalFunctionVariable, double > > parameterCoefficients