Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SymbolicQuantitativeCheckResult.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace storm {
8namespace modelchecker {
9// fwd
10template<storm::dd::DdType Type>
12
13template<storm::dd::DdType Type, typename ValueType = double>
15 public:
20
26
27 virtual std::unique_ptr<CheckResult> clone() const override;
28
29 virtual std::unique_ptr<CheckResult> compareAgainstBound(storm::logic::ComparisonType comparisonType, ValueType const& bound) const override;
30
31 virtual bool isSymbolic() const override;
32 virtual bool isResultForAllStates() const override;
33
34 virtual bool isSymbolicQuantitativeCheckResult() const override;
35
37 storm::dd::Bdd<Type> const& getStates() const;
39
40 virtual std::ostream& writeToStream(std::ostream& out) const override;
41
42 virtual void filter(QualitativeCheckResult const& filter) override;
43
44 virtual ValueType getMin() const override;
45 virtual ValueType getMax() const override;
46
47 virtual ValueType average() const override;
48 virtual ValueType sum() const override;
49
50 virtual void oneMinus() override;
51
52 private:
53 bool hasValueType(std::type_info const& t) const override {
54 return t == typeid(ValueType);
55 }
56
57 // The set of all reachable states.
58 storm::dd::Bdd<Type> reachableStates;
59
60 // The set of states for which this check result contains values.
62
63 // The values of the quantitative check result.
65};
66} // namespace modelchecker
67} // namespace storm
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