Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
AddUncertainty.h
Go to the documentation of this file.
2
3namespace storm::transformer {
4
12template<typename ValueType>
14 public:
15 AddUncertainty(std::shared_ptr<storm::models::sparse::Model<ValueType>> const& originalModel);
16 std::shared_ptr<storm::models::sparse::Model<Interval>> transform(double additiveUncertainty, double minimalValue = 0.0001);
17
18 private:
19 storm::Interval addUncertainty(ValueType const& vt, double additiveUncertainty, double minimalValue);
20 std::shared_ptr<storm::models::sparse::Model<ValueType>> origModel;
21};
22
23} // namespace storm::transformer
Base class for all sparse models.
Definition Model.h:33
This class is a convenience transformer to add uncertainty.
std::shared_ptr< storm::models::sparse::Model< Interval > > transform(double additiveUncertainty, double minimalValue=0.0001)