23template<
typename SparseModelType,
typename ValueType,
bool Nondeterministic>
33 : _transitionMatrix(transitionMatrix), formula(formula) {}
41 std::pair<std::shared_ptr<storm::transformer::DAProduct<SparseModelType>>, std::vector<uint64_t>>
getCompleteProductModel(
52 std::pair<storm::storage::MaximalEndComponentDecomposition<ValueType>, std::vector<std::vector<bool>>>
getLexArrays(
69 std::vector<std::vector<bool>>
const& mecLexArray,
71 SparseModelType
const& originalMdp);
74 static std::map<std::string, storm::storage::BitVector> computeApSets(std::map<std::string, std::shared_ptr<storm::logic::Formula const>>
const& extracted,
84 std::vector<storm::automata::AcceptanceCondition::acceptance_expr::ptr> getStreettPairs(
85 storm::automata::AcceptanceCondition::acceptance_expr::ptr
const& current);
96 std::vector<storm::automata::AcceptanceCondition::acceptance_expr::ptr>
const& acceptancePairs,
111 std::vector<std::vector<bool>>
const& bccLexArray, std::vector<uint64_t>
const& oldToNewStateMapping,
112 uint64_t
const& condition, uint64_t
const numStates, std::vector<uint64_t>
const& compressedToReducedMapping,
113 std::map<uint64_t, uint64_t>
const& bccToStStateMapping);
121 SparseModelType
const& originalMdp,
122 std::vector<uint64_t>
const& compressedToReducedMapping,
123 std::vector<uint64_t>
const& oldToNewStateMapping);
138 std::pair<storm::storage::SparseMatrix<ValueType>, std::map<uint64_t, uint64_t>> addSinkStates(
std::shared_ptr< AcceptanceCondition > ptr
Helper for model checking queries where we are interested in (optimizing) a single value per state.
storm::storage::sparse::state_type StateType
std::pair< std::shared_ptr< storm::transformer::DAProduct< SparseModelType > >, std::vector< uint64_t > > getCompleteProductModel(SparseModelType const &model, CheckFormulaCallback const &formulaChecker)
Returns the product of a model and the product-automaton of all sub-formulae of the multi-objective f...
LexicographicModelCheckerHelper(storm::logic::MultiObjectiveFormula const &formula, storm::storage::SparseMatrix< ValueType > const &transitionMatrix)
MDPSparseModelCheckingHelperReturnType< ValueType > lexReachability(Environment const &env, storm::storage::MaximalEndComponentDecomposition< ValueType > const &mecs, std::vector< std::vector< bool > > const &mecLexArray, std::shared_ptr< storm::transformer::DAProduct< SparseModelType > > const &productModel, SparseModelType const &originalMdp)
Solves the reachability query for a lexicographic objective In lexicographic order,...
storm::transformer::SubsystemBuilderReturnType< ValueType, storm::models::sparse::StandardRewardModel< ValueType > > SubsystemReturnType
std::function< storm::storage::BitVector(storm::logic::Formula const &)> CheckFormulaCallback
std::pair< storm::storage::MaximalEndComponentDecomposition< ValueType >, std::vector< std::vector< bool > > > getLexArrays(std::shared_ptr< storm::transformer::DAProduct< productModelType > > productModel, std::vector< uint64_t > &acceptanceConditions)
Given a product of an MDP and a automaton, returns the MECs and their corresponding Lex-Arrays First:...
typename storm::models::sparse::Mdp< ValueType > productModelType
This class represents a (discrete-time) Markov decision process.
A bit vector that is internally represented as a vector of 64-bit values.
This class represents the decomposition of a nondeterministic model into its maximal end components.
This class represents a maximal end-component of a nondeterministic model.
A class that holds a possibly non-square matrix in the compressed row storage format.
The contract of a DD backend.