|
| template<typename PomdpValueType> |
| ObservationSignature | getObservationSignature (storm::models::sparse::Pomdp< PomdpValueType > const &pomdp, uint64_t const observationId) |
| template<typename PomdpValueType, typename FscValueType> |
| storm::models::sparse::Dtmc< PomdpValueType > | applyObservationBasedFSCToPomdp (storm::models::sparse::Pomdp< PomdpValueType > const &pomdp, storm::pomdp::policy::ObservationBasedFiniteStateController< FscValueType > const &fsc, bool treatUnspecifiedChoiceAsDontCare=false) |
| | Applies an observation-based finite-state controller to a POMDP and constructs the induced DTMC.
|
| template ObservationSignature | getObservationSignature (storm::models::sparse::Pomdp< double > const &, uint64_t) |
| template ObservationSignature | getObservationSignature (storm::models::sparse::Pomdp< storm::RationalNumber > const &, uint64_t) |
| template storm::models::sparse::Dtmc< double > | applyObservationBasedFSCToPomdp (storm::models::sparse::Pomdp< double > const &, storm::pomdp::policy::ObservationBasedFiniteStateController< double > const &, bool) |
| template storm::models::sparse::Dtmc< double > | applyObservationBasedFSCToPomdp (storm::models::sparse::Pomdp< double > const &, storm::pomdp::policy::ObservationBasedFiniteStateController< storm::RationalNumber > const &, bool) |
| template storm::models::sparse::Dtmc< storm::RationalNumber > | applyObservationBasedFSCToPomdp (storm::models::sparse::Pomdp< storm::RationalNumber > const &, storm::pomdp::policy::ObservationBasedFiniteStateController< double > const &, bool) |
| template storm::models::sparse::Dtmc< storm::RationalNumber > | applyObservationBasedFSCToPomdp (storm::models::sparse::Pomdp< storm::RationalNumber > const &, storm::pomdp::policy::ObservationBasedFiniteStateController< storm::RationalNumber > const &, bool) |
| std::string | observationSignatureToString (ObservationSignature const &signature) |
| | Creates a human-readable representation of an observation signature.
|
| static std::string | escapeDotLabel (std::string const &label) |
template<typename PomdpValueType, typename FscValueType>
Applies an observation-based finite-state controller to a POMDP and constructs the induced DTMC.
States of the resulting DTMC represent reachable pairs of a POMDP state and an FSC memory node. If the FSC provides observation signatures or action names, they are used to match its outputs to the POMDP; otherwise, the corresponding numeric IDs are assumed to agree. Observation signatures match observable names and typed values, so the observable-storage order need not agree. State-action rewards are averaged over the FSC action distribution and added to state rewards. Models containing transition rewards are not supported.
- Template Parameters
-
| PomdpValueType | The type used for probabilities and rewards in the POMDP and resulting DTMC. |
| FscValueType | The type used for probabilities in randomised FSC action outputs. |
- Parameters
-
| pomdp | The canonic POMDP to which the controller is applied. |
| fsc | The finite-state controller to apply. |
| treatUnspecifiedChoiceAsDontCare | If true, an unspecified FSC output selects local action zero and keeps the current FSC memory node. If false, an unspecified output causes an exception. |
- Returns
- The DTMC induced by the POMDP and the FSC.
- Exceptions
-
| storm::exceptions::IllegalArgumentException | If the POMDP is not canonic. |
| storm::exceptions::NotSupportedException | If the POMDP does not have exactly one initial state or any reward model has transition rewards. |
| storm::exceptions::UnexpectedException | If required observation or action names cannot be matched, or if the FSC has an unspecified output and treatUnspecifiedChoiceAsDontCare is false. |
Definition at line 29 of file ApplyObservationBasedFSCToPomdp.cpp.