21namespace abstraction {
22template<storm::dd::DdType DdType>
23class AbstractionInformation;
25template<storm::dd::DdType DdType>
26struct BottomStateResult;
28template<storm::dd::DdType DdType>
32template<storm::dd::DdType DdType,
typename ValueType>
44 std::shared_ptr<storm::utility::solver::SmtSolverFactory>
const& smtSolverFactory,
bool useDecomposition,
bool addPredicatesForValidBlocks,
57 void refine(std::vector<uint_fast64_t>
const& predicates);
76 std::map<storm::expressions::Variable, storm::expressions::Expression>
getVariableUpdates(uint64_t player1Choice, uint64_t auxiliaryChoice)
const;
81 std::set<storm::expressions::Variable>
const&
getAssignedVariables(uint64_t player1Choice)
const;
111 std::vector<CommandAbstractor<DdType, ValueType>>
const&
getCommands()
const;
118 std::vector<CommandAbstractor<DdType, ValueType>>&
getCommands();
131 std::shared_ptr<storm::utility::solver::SmtSolverFactory> smtSolverFactory;
134 std::reference_wrapper<AbstractionInformation<DdType>
const> abstractionInformation;
137 std::vector<CommandAbstractor<DdType, ValueType>> commands;
140 std::reference_wrapper<storm::prism::Module const>
module;
BottomStateResult< DdType > getBottomStateTransitions(storm::dd::Bdd< DdType > const &reachableStates, uint_fast64_t numberOfPlayer2Variables)
Retrieves the transitions to bottom states of this module.
std::map< storm::expressions::Variable, storm::expressions::Expression > getVariableUpdates(uint64_t player1Choice, uint64_t auxiliaryChoice) const
Retrieves a mapping from variables to expressions that define their updates wrt.
storm::dd::Add< DdType, ValueType > getCommandUpdateProbabilitiesAdd() const
Retrieves an ADD that maps the encodings of commands and their updates to their probabilities.
void refine(std::vector< uint_fast64_t > const &predicates)
Refines the abstract module with the given predicates.
ModuleAbstractor & operator=(ModuleAbstractor const &)=default
GameBddResult< DdType > abstract()
Computes the abstraction of the module wrt.
ModuleAbstractor(ModuleAbstractor &&)=default
ModuleAbstractor(ModuleAbstractor const &)=default
std::vector< CommandAbstractor< DdType, ValueType > > const & getCommands() const
Retrieves the abstract commands of this abstract module.
ModuleAbstractor & operator=(ModuleAbstractor &&)=default
storm::expressions::Expression const & getGuard(uint64_t player1Choice) const
Retrieves the guard of the given player 1 choice.
std::set< storm::expressions::Variable > const & getAssignedVariables(uint64_t player1Choice) const
Retrieves the variables assigned by the given player 1 choice.
void notifyGuardsArePredicates()
uint64_t getNumberOfUpdates(uint64_t player1Choice) const
Retrieves the number of updates of the specified player 1 choice.