Storm
1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
AddUncertainty.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
storm/adapters/IntervalForward.h
"
4
#include "
storm/models/sparse/Model.h
"
5
6
namespace
storm::transformer
{
7
15
template
<
typename
ValueType>
16
class
AddUncertainty
{
17
public
:
18
AddUncertainty
(std::shared_ptr<
storm::models::sparse::Model<ValueType>
>
const
& originalModel);
19
std::shared_ptr<storm::models::sparse::Model<Interval>>
transform
(
double
additiveUncertainty,
double
minimalValue = 0.0001);
20
21
private
:
22
storm::Interval
addUncertainty(ValueType
const
& vt,
double
additiveUncertainty,
double
minimalValue);
23
std::shared_ptr<storm::models::sparse::Model<ValueType>> origModel;
24
};
25
26
}
// namespace storm::transformer
IntervalForward.h
carl::Interval
Definition
IntervalForward.h:5
storm::models::sparse::Model
Base class for all sparse models.
Definition
Model.h:32
storm::transformer::AddUncertainty
This class is a convenience transformer to add uncertainty.
Definition
AddUncertainty.h:16
storm::transformer::AddUncertainty::transform
std::shared_ptr< storm::models::sparse::Model< Interval > > transform(double additiveUncertainty, double minimalValue=0.0001)
Definition
AddUncertainty.cpp:20
Model.h
storm::transformer
Definition
OrderBasedMonotonicityBackend.h:16
src
storm
transformer
AddUncertainty.h
Generated by
1.9.8