Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparsePropositionalModelChecker.h
Go to the documentation of this file.
1#ifndef STORM_MODELCHECKER_SPARSEPROPOSITIONALMODELCHECKER_H_
2#define STORM_MODELCHECKER_SPARSEPROPOSITIONALMODELCHECKER_H_
3
5
6namespace storm {
7namespace modelchecker {
8
9template<typename SparseModelType>
11 public:
12 typedef typename SparseModelType::ValueType ValueType;
13 typedef typename SparseModelType::RewardModelType RewardModelType;
14 using SolutionType = typename std::conditional<std::is_same_v<ValueType, storm::Interval>, double, ValueType>::type;
15
16 explicit SparsePropositionalModelChecker(SparseModelType const& model);
17
18 // The implemented methods of the AbstractModelChecker interface.
19 virtual bool canHandle(CheckTask<storm::logic::Formula, SolutionType> const& checkTask) const override;
20 virtual std::unique_ptr<CheckResult> checkBooleanLiteralFormula(Environment const& env,
22 virtual std::unique_ptr<CheckResult> checkAtomicLabelFormula(Environment const& env,
24
25 protected:
31 SparseModelType const& getModel() const;
32
33 private:
34 // The model that is to be analyzed by the model checker.
35 SparseModelType const& model;
36};
37} // namespace modelchecker
38} // namespace storm
39
40#endif /* STORM_MODELCHECKER_SPARSEPROPOSITIONALMODELCHECKER_H_ */
typename std::conditional< std::is_same_v< ValueType, storm::Interval >, double, ValueType >::type SolutionType
virtual std::unique_ptr< CheckResult > checkBooleanLiteralFormula(Environment const &env, CheckTask< storm::logic::BooleanLiteralFormula, SolutionType > const &checkTask) override
virtual bool canHandle(CheckTask< storm::logic::Formula, SolutionType > const &checkTask) const override
Determines whether the model checker can handle the given verification task.
virtual std::unique_ptr< CheckResult > checkAtomicLabelFormula(Environment const &env, CheckTask< storm::logic::AtomicLabelFormula, SolutionType > const &checkTask) override
SparseModelType const & getModel() const
Retrieves the model associated with this model checker instance.
LabParser.cpp.
Definition cli.cpp:18