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
5
6namespace storm::transformer {
7
15template<typename ValueType>
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
Base class for all sparse models.
Definition Model.h:32
This class is a convenience transformer to add uncertainty.
std::shared_ptr< storm::models::sparse::Model< Interval > > transform(double additiveUncertainty, double minimalValue=0.0001)