Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
MonotonicityChecker.h
Go to the documentation of this file.
1#ifndef STORM_MONOTONICITYCHECKER_H
2#define STORM_MONOTONICITYCHECKER_H
3
4#include <boost/container/flat_map.hpp>
5#include <map>
8#include "Order.h"
10
15
18
19namespace storm {
20namespace analysis {
21
22template<typename ValueType>
24 public:
29
36
44 static std::pair<bool, bool> checkDerivative(ValueType const& derivative, storage::ParameterRegion<ValueType> const& reg);
45
55 Monotonicity checkLocalMonotonicity(std::shared_ptr<Order> const& order, uint_fast64_t state, VariableType const& var,
57
58 private:
59 Monotonicity checkTransitionMonRes(ValueType function, VariableType param, Region region);
60
61 ValueType& getDerivative(ValueType function, VariableType var);
62
64
65 boost::container::flat_map<ValueType, boost::container::flat_map<VariableType, ValueType>> derivatives;
66};
67} // namespace analysis
68} // namespace storm
69#endif // STORM_MONOTONICITYCHECKER_H
utility::parametric::VariableType< ValueType >::type VariableType
storage::ParameterRegion< ValueType > Region
static std::pair< bool, bool > checkDerivative(ValueType const &derivative, storage::ParameterRegion< ValueType > const &reg)
Checks if a derivative >=0 or/and <=0.
utility::parametric::CoefficientType< ValueType >::type CoefficientType
MonotonicityResult< VariableType >::Monotonicity Monotonicity
Monotonicity checkLocalMonotonicity(std::shared_ptr< Order > const &order, uint_fast64_t state, VariableType const &var, storage::ParameterRegion< ValueType > const &region)
Checks for local monotonicity at the given state.
Monotonicity
The results of monotonicity checking for a single Parameter Region.
A class that holds a possibly non-square matrix in the compressed row storage format.
LabParser.cpp.
Definition cli.cpp:18