Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
IntervalForward.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace carl {
6template<typename Number>
7class Interval;
8}
9
10namespace storm {
11
17
18namespace detail {
19template<typename ValueType>
21 using BaseType = ValueType;
22 static const bool isInterval = false;
23};
24template<>
26 using BaseType = double;
27 static const bool isInterval = true;
28};
29template<>
31 using BaseType = storm::RationalNumber;
32 static const bool isInterval = true;
33};
34} // namespace detail
35
39template<typename ValueType>
41
46template<typename ValueType>
48} // namespace storm
carl::Interval< storm::RationalNumber > RationalInterval
carl::Interval< double > Interval
Interval type.
constexpr bool IsIntervalType
Helper to check if a type is an interval.
typename detail::IntervalMetaProgrammingHelper< ValueType >::BaseType IntervalBaseType
Helper to access the type in which interval boundaries are stored.