Storm
1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
IntervalForward.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
carl
{
4
template
<
typename
Number>
5
class
Interval
;
6
}
7
8
namespace
storm
{
9
13
typedef
carl::Interval<double>
Interval
;
14
15
namespace
detail {
16
template
<
typename
ValueType>
17
struct
IntervalMetaProgrammingHelper
{
18
using
BaseType
= ValueType;
19
static
const
bool
isInterval
=
false
;
20
};
21
template
<>
22
struct
IntervalMetaProgrammingHelper
<
Interval
> {
23
using
BaseType
= double;
24
static
const
bool
isInterval
=
true
;
25
};
26
}
// namespace detail
27
31
template
<
typename
ValueType>
32
constexpr
bool
IsIntervalType
=
detail::IntervalMetaProgrammingHelper<ValueType>::isInterval
;
33
38
template
<
typename
ValueType>
39
using
IntervalBaseType
=
typename
detail::IntervalMetaProgrammingHelper<ValueType>::BaseType
;
40
}
// namespace storm
carl::Interval
Definition
IntervalForward.h:5
carl
Definition
IntervalAdapter.h:7
storm
Definition
AutomaticSettings.cpp:13
storm::Interval
carl::Interval< double > Interval
Interval type.
Definition
IntervalForward.h:13
storm::IntervalBaseType
typename detail::IntervalMetaProgrammingHelper< ValueType >::BaseType IntervalBaseType
Helper to access the type in which interval boundaries are stored.
Definition
IntervalForward.h:39
storm::IsIntervalType
constexpr bool IsIntervalType
Helper to check if a type is an interval.
Definition
IntervalForward.h:32
storm::detail::IntervalMetaProgrammingHelper< Interval >::BaseType
double BaseType
Definition
IntervalForward.h:23
storm::detail::IntervalMetaProgrammingHelper
Definition
IntervalForward.h:17
storm::detail::IntervalMetaProgrammingHelper::BaseType
ValueType BaseType
Definition
IntervalForward.h:18
storm::detail::IntervalMetaProgrammingHelper::isInterval
static const bool isInterval
Definition
IntervalForward.h:19
src
storm
adapters
IntervalForward.h
Generated by
1.9.8