Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ModelRepresentation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <ostream>
4
5
#include "
storm/storage/dd/DdType.h
"
6
7
namespace
storm
{
8
namespace
models {
9
enum class
ModelRepresentation
{
Sparse
,
DdCudd
,
DdSylvan
};
10
std::ostream&
operator<<
(std::ostream& os,
ModelRepresentation
const
& representation);
11
12
template
<storm::dd::DdType ddType>
13
struct
GetModelRepresentation
;
14
template
<>
15
struct
GetModelRepresentation
<
storm
::
dd::DdType::CUDD
> {
16
static
const
ModelRepresentation
representation =
ModelRepresentation::DdCudd
;
17
};
18
template
<>
19
struct
GetModelRepresentation
<
storm
::
dd::DdType::Sylvan
> {
20
static
const
ModelRepresentation
representation =
ModelRepresentation::DdSylvan
;
21
};
22
23
template
<ModelRepresentation representation>
24
struct
GetDdType
;
25
template
<>
26
struct
GetDdType
<
ModelRepresentation
::
Sparse
> {
27
static
const
storm::dd::DdType
ddType =
storm::dd::DdType::Sylvan
;
28
};
29
template
<>
30
struct
GetDdType
<
ModelRepresentation
::
DdCudd
> {
31
static
const
storm::dd::DdType
ddType =
storm::dd::DdType::CUDD
;
32
};
33
template
<>
34
struct
GetDdType
<
ModelRepresentation
::
DdSylvan
> {
35
static
const
storm::dd::DdType
ddType =
storm::dd::DdType::Sylvan
;
36
};
37
38
}
// namespace models
39
}
// namespace storm
DdType.h
storm::dd::DdType
DdType
Definition
DdType.h:6
storm::dd::DdType::Sylvan
@ Sylvan
storm::dd::DdType::CUDD
@ CUDD
storm::models::operator<<
std::ostream & operator<<(std::ostream &os, ModelRepresentation const &representation)
Definition
ModelRepresentation.cpp:9
storm::models::ModelRepresentation
ModelRepresentation
Definition
ModelRepresentation.h:9
storm::models::ModelRepresentation::DdCudd
@ DdCudd
storm::models::ModelRepresentation::Sparse
@ Sparse
storm::models::ModelRepresentation::DdSylvan
@ DdSylvan
storm
LabParser.cpp.
Definition
cli.cpp:18
storm::models::GetDdType
Definition
ModelRepresentation.h:24
storm::models::GetModelRepresentation
Definition
ModelRepresentation.h:13
src
storm
models
ModelRepresentation.h
Generated by
1.9.8