|
Storm 1.13.0.1
A Modern Probabilistic Model Checker
|
Represents a model in the UMB format. More...
#include <UmbModel.h>

Classes | |
| struct | ActionLabels |
| struct | Observations |
| struct | AppliesToEntity |
| struct | AnnotationValues |
| struct | Valuation |
Public Types | |
| using | Annotation = std::map<std::string, AppliesToEntity<AnnotationValues>> |
| using | Valuations = AppliesToEntity<Valuation> |
Public Member Functions | |
| std::string | getShortModelInformation () const |
| Retrieves a short string that can be used to refer to the model in user output. | |
| std::string | getModelInformation () const |
| Retrieves a string that describes the model in more detail. | |
| storm::OptionalRef< Annotation > | annotation (std::string const &annotationType, bool createIfMissing=false) |
| Gets the annotation data with the given annotation type. | |
| storm::OptionalRef< Annotation const > | annotation (std::string const &annotationType) const |
| storm::OptionalRef< Annotation > | aps (bool createIfMissing=false) |
| storm::OptionalRef< Annotation const > | aps () const |
| storm::OptionalRef< Annotation > | rewards (bool createIfMissing=false) |
| storm::OptionalRef< Annotation const > | rewards () const |
| bool | validate (std::ostream &errors) const |
| Validates the given UMB model and writes potential errors to the given output stream. | |
| void | validateOrThrow () const |
| Validates the UmbModel. | |
| void | encodeRationals () |
| Encodes all rational values stored in the model into their UMB bit representation. | |
| void | decodeRationals () |
| Decodes all rational values stored in the model from their UMB bit representation. | |
Public Attributes | |
| ModelIndex | index |
| CSR | stateToChoices |
| TO1< uint32_t > | stateToPlayer |
| TO1< bool > | stateIsInitial |
| TO1< bool > | stateIsMarkovian |
| TO1< AnyValueType > | stateToExitRate |
| CSR | choiceToBranches |
| TO1< uint64_t > | branchToTarget |
| TO1< AnyValueType > | branchToProbability |
| std::optional< ActionLabels > | choiceActions |
| std::optional< ActionLabels > | branchActions |
| std::optional< Observations > | stateObservations |
| std::optional< Observations > | branchObservations |
| std::map< std::string, Annotation > | annotations |
| Valuations | valuations |
| std::map< std::filesystem::path, std::vector< char > > | nonStandardFiles |
Static Public Attributes | |
| static auto constexpr | FileNames |
Represents a model in the UMB format.
The data is stored in a way that closely reflects the file structure of the UMB format.
Definition at line 21 of file UmbModel.h.
| using storm::umb::UmbModel::Annotation = std::map<std::string, AppliesToEntity<AnnotationValues>> |
Definition at line 66 of file UmbModel.h.
Definition at line 76 of file UmbModel.h.
| storm::OptionalRef< UmbModel::Annotation const > storm::umb::UmbModel::annotation | ( | std::string const & | annotationType | ) | const |
Definition at line 72 of file UmbModel.cpp.
| storm::OptionalRef< UmbModel::Annotation > storm::umb::UmbModel::annotation | ( | std::string const & | annotationType, |
| bool | createIfMissing = false ) |
Gets the annotation data with the given annotation type.
Definition at line 61 of file UmbModel.cpp.
| storm::OptionalRef< UmbModel::Annotation const > storm::umb::UmbModel::aps | ( | ) | const |
Definition at line 84 of file UmbModel.cpp.
| storm::OptionalRef< UmbModel::Annotation > storm::umb::UmbModel::aps | ( | bool | createIfMissing = false | ) |
Definition at line 80 of file UmbModel.cpp.
| void storm::umb::UmbModel::decodeRationals | ( | ) |
Decodes all rational values stored in the model from their UMB bit representation.
Definition at line 181 of file UmbModel.cpp.
| void storm::umb::UmbModel::encodeRationals | ( | ) |
Encodes all rational values stored in the model into their UMB bit representation.
Definition at line 104 of file UmbModel.cpp.
| std::string storm::umb::UmbModel::getModelInformation | ( | ) | const |
Retrieves a string that describes the model in more detail.
Definition at line 24 of file UmbModel.cpp.
| std::string storm::umb::UmbModel::getShortModelInformation | ( | ) | const |
Retrieves a short string that can be used to refer to the model in user output.
Definition at line 11 of file UmbModel.cpp.
| storm::OptionalRef< UmbModel::Annotation const > storm::umb::UmbModel::rewards | ( | ) | const |
Definition at line 92 of file UmbModel.cpp.
| storm::OptionalRef< UmbModel::Annotation > storm::umb::UmbModel::rewards | ( | bool | createIfMissing = false | ) |
Definition at line 88 of file UmbModel.cpp.
| bool storm::umb::UmbModel::validate | ( | std::ostream & | errors | ) | const |
Validates the given UMB model and writes potential errors to the given output stream.
Definition at line 96 of file UmbModel.cpp.
| void storm::umb::UmbModel::validateOrThrow | ( | ) | const |
Validates the UmbModel.
If it is invalid, an exception is thrown.
Definition at line 100 of file UmbModel.cpp.
| std::map<std::string, Annotation> storm::umb::UmbModel::annotations |
Definition at line 67 of file UmbModel.h.
| std::optional<ActionLabels> storm::umb::UmbModel::branchActions |
Definition at line 43 of file UmbModel.h.
| std::optional<Observations> storm::umb::UmbModel::branchObservations |
Definition at line 51 of file UmbModel.h.
| TO1<AnyValueType> storm::umb::UmbModel::branchToProbability |
Definition at line 35 of file UmbModel.h.
| TO1<uint64_t> storm::umb::UmbModel::branchToTarget |
Definition at line 34 of file UmbModel.h.
| std::optional<ActionLabels> storm::umb::UmbModel::choiceActions |
Definition at line 43 of file UmbModel.h.
| CSR storm::umb::UmbModel::choiceToBranches |
Definition at line 32 of file UmbModel.h.
|
staticconstexpr |
Definition at line 83 of file UmbModel.h.
| ModelIndex storm::umb::UmbModel::index |
Definition at line 24 of file UmbModel.h.
| std::map<std::filesystem::path, std::vector<char> > storm::umb::UmbModel::nonStandardFiles |
Definition at line 81 of file UmbModel.h.
| TO1<bool> storm::umb::UmbModel::stateIsInitial |
Definition at line 28 of file UmbModel.h.
| TO1<bool> storm::umb::UmbModel::stateIsMarkovian |
Definition at line 29 of file UmbModel.h.
| std::optional<Observations> storm::umb::UmbModel::stateObservations |
Definition at line 51 of file UmbModel.h.
| CSR storm::umb::UmbModel::stateToChoices |
Definition at line 26 of file UmbModel.h.
| TO1<AnyValueType> storm::umb::UmbModel::stateToExitRate |
Definition at line 30 of file UmbModel.h.
| TO1<uint32_t> storm::umb::UmbModel::stateToPlayer |
Definition at line 27 of file UmbModel.h.
| Valuations storm::umb::UmbModel::valuations |
Definition at line 77 of file UmbModel.h.