Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ParetoCurveCheckResult.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
7
8namespace storm {
9namespace modelchecker {
10template<typename ValueType>
12 public:
13 typedef std::vector<ValueType> point_type;
14 typedef std::shared_ptr<storm::storage::geometry::Polytope<ValueType>> polytope_type;
15
17
18 virtual bool isParetoCurveCheckResult() const override;
19
20 std::vector<point_type> const& getPoints() const;
21 bool hasUnderApproximation() const;
22 bool hasOverApproximation() const;
25
26 virtual std::ostream& writeToStream(std::ostream& out) const override;
27
28 protected:
29 ParetoCurveCheckResult(std::vector<point_type> const& points, polytope_type const& underApproximation = nullptr,
30 polytope_type const& overApproximation = nullptr);
31 ParetoCurveCheckResult(std::vector<point_type>&& points, polytope_type&& underApproximation = nullptr, polytope_type&& overApproximation = nullptr);
32
33 // The pareto optimal points that have been found.
34 std::vector<point_type> points;
35
36 // An underapproximation of the set of achievable values
38
39 // An overapproximation of the set of achievable values
41};
42} // namespace modelchecker
43} // namespace storm
std::shared_ptr< storm::storage::geometry::Polytope< ValueType > > polytope_type
virtual std::ostream & writeToStream(std::ostream &out) const override
std::vector< point_type > const & getPoints() const