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:
17
22
28
29 virtual std::unique_ptr<CheckResult> clone() const override;
30
31 virtual std::unique_ptr<CheckResult> compareAgainstBound(storm::logic::ComparisonType comparisonType, ValueType const& bound) const override;
32
33 virtual bool isSymbolic() const override;
34 virtual bool isResultForAllStates() const override;
35
36 virtual bool isSymbolicQuantitativeCheckResult() const override;
37
39 storm::dd::Bdd<Type> const& getStates() const;
41
42 virtual std::ostream& writeToStream(std::ostream& out) const override;
43
44 virtual void filter(QualitativeCheckResult const& filter) override;
45
46 virtual ExtendedValueType getMin() const override;
47 virtual ExtendedValueType getMax() const override;
48
49 virtual ExtendedValueType average() const override;
50 virtual ExtendedValueType sum() const override;
51
52 virtual void oneMinus() override;
53
54 private:
55 bool hasValueType(std::type_info const& t) const override {
56 return t == typeid(ValueType);
57 }
58
59 // The set of all reachable states.
60 storm::dd::Bdd<Type> reachableStates;
61
62 // The set of states for which this check result contains values.
64
65 // The values of the quantitative check result.
67};
68} // namespace modelchecker
69} // namespace storm
bool hasValueType() const
Checks whether the ValueType of the result matches the given type.
storm::utility::ExtendedValueType< ValueType > ExtendedValueType
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
typename QuantitativeCheckResult< ValueType >::ExtendedValueType ExtendedValueType