Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SymbolicQuantitativeCheckResult.h
Go to the documentation of this file.
1#ifndef STORM_MODELCHECKER_SYMBOLICQUANTITATIVECHECKRESULT_H_
2#define STORM_MODELCHECKER_SYMBOLICQUANTITATIVECHECKRESULT_H_
3
7
8namespace storm {
9namespace modelchecker {
10// fwd
11template<storm::dd::DdType Type>
13
14template<storm::dd::DdType Type, typename ValueType = double>
16 public:
21
27
28 virtual std::unique_ptr<CheckResult> clone() const override;
29
30 virtual std::unique_ptr<CheckResult> compareAgainstBound(storm::logic::ComparisonType comparisonType, ValueType const& bound) const override;
31
32 virtual bool isSymbolic() const override;
33 virtual bool isResultForAllStates() const override;
34
35 virtual bool isSymbolicQuantitativeCheckResult() const override;
36
38 storm::dd::Bdd<Type> const& getStates() const;
40
41 virtual std::ostream& writeToStream(std::ostream& out) const override;
42
43 virtual void filter(QualitativeCheckResult const& filter) override;
44
45 virtual ValueType getMin() const override;
46 virtual ValueType getMax() const override;
47
48 virtual ValueType average() const override;
49 virtual ValueType sum() const override;
50
51 virtual void oneMinus() override;
52
53 private:
54 bool hasValueType(std::type_info const& t) const override {
55 return t == typeid(ValueType);
56 }
57
58 // The set of all reachable states.
59 storm::dd::Bdd<Type> reachableStates;
60
61 // The set of states for which this check result contains values.
63
64 // The values of the quantitative check result.
66};
67} // namespace modelchecker
68} // namespace storm
69
70#endif /* STORM_MODELCHECKER_SYMBOLICQUANTITATIVECHECKRESULT_H_ */
bool hasValueType() const
Checks whether the ValueType of the result matches the given type.
virtual std::unique_ptr< CheckResult > clone() const override
SymbolicQuantitativeCheckResult(SymbolicQuantitativeCheckResult const &other)=default
storm::dd::Add< Type, ValueType > const & getValueVector() const
SymbolicQuantitativeCheckResult(SymbolicQuantitativeCheckResult &&other)=default
virtual void filter(QualitativeCheckResult const &filter) override
Filters the current result wrt.
SymbolicQuantitativeCheckResult & operator=(SymbolicQuantitativeCheckResult &&other)=default
virtual std::unique_ptr< CheckResult > compareAgainstBound(storm::logic::ComparisonType comparisonType, ValueType const &bound) const override
virtual std::ostream & writeToStream(std::ostream &out) const override
SymbolicQuantitativeCheckResult & operator=(SymbolicQuantitativeCheckResult const &other)=default