Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseModelFromUmb.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
7
8namespace storm {
9
10namespace models {
11enum class ModelType;
12class ModelBase;
13} // namespace models
14
15namespace umb {
16
20storm::models::ModelType deriveModelType(storm::umb::ModelIndex const& index);
21
27template<typename ValueType>
28bool deriveValueType(storm::umb::ModelIndex const& index, ImportOptions const& options = {});
29
35template<typename ValueType>
36std::shared_ptr<storm::models::sparse::Model<ValueType>> sparseModelFromUmb(storm::umb::UmbModel const& umbModel, ImportOptions const& options = {});
37
42std::shared_ptr<storm::models::ModelBase> sparseModelFromUmb(storm::umb::UmbModel const& umbModel, ImportOptions const& options = {});
43
44} // namespace umb
45} // namespace storm
bool deriveValueType(storm::umb::ModelIndex const &index, ImportOptions const &options)
Returns true iff the given umb model with the given options should have ValueType as its ValueType.
std::shared_ptr< storm::models::sparse::Model< ValueType > > sparseModelFromUmb(storm::umb::UmbModel const &umbModel, ImportOptions const &options)
Constructs a sparse model from the given UMB model.
storm::models::ModelType deriveModelType(storm::umb::ModelIndex const &index)
Derives the model type from the given UMB model index.