Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ParetoCurveCheckResult.h
Go to the documentation of this file.
1#ifndef STORM_MODELCHECKER_PARETOCURVECHECKRESULT_H_
2#define STORM_MODELCHECKER_PARETOCURVECHECKRESULT_H_
3
4#include <vector>
5
8
9namespace storm {
10namespace modelchecker {
11template<typename ValueType>
13 public:
14 typedef std::vector<ValueType> point_type;
15 typedef std::shared_ptr<storm::storage::geometry::Polytope<ValueType>> polytope_type;
16
18
19 virtual bool isParetoCurveCheckResult() const override;
20
21 std::vector<point_type> const& getPoints() const;
22 bool hasUnderApproximation() const;
23 bool hasOverApproximation() const;
26
27 virtual std::ostream& writeToStream(std::ostream& out) const override;
28
29 protected:
30 ParetoCurveCheckResult(std::vector<point_type> const& points, polytope_type const& underApproximation = nullptr,
31 polytope_type const& overApproximation = nullptr);
32 ParetoCurveCheckResult(std::vector<point_type>&& points, polytope_type&& underApproximation = nullptr, polytope_type&& overApproximation = nullptr);
33
34 // The pareto optimal points that have been found.
35 std::vector<point_type> points;
36
37 // An underapproximation of the set of achievable values
39
40 // An overapproximation of the set of achievable values
42};
43} // namespace modelchecker
44} // namespace storm
45
46#endif /* STORM_MODELCHECKER_PARETOCURVECHECKRESULT_H_ */
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
LabParser.cpp.
Definition cli.cpp:18