Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
AssumptionMaker.h
Go to the documentation of this file.
1#pragma once
2
4
8
9namespace storm {
10namespace analysis {
11
12template<typename ValueType, typename ConstantType>
14 public:
21
34 std::vector<std::pair<Assumption, AssumptionStatus>> createAndCheckAssumptions(uint_fast64_t val1, uint_fast64_t val2, std::shared_ptr<Order> order,
36 std::vector<std::pair<Assumption, AssumptionStatus>> createAndCheckAssumptions(uint_fast64_t val1, uint_fast64_t val2, std::shared_ptr<Order> order,
38 std::vector<ConstantType> const minValues,
39 std::vector<ConstantType> const maxValue) const;
40
50 void initializeCheckingOnSamples(Environment const& env, std::shared_ptr<logic::Formula const> formula,
52 uint_fast64_t numberOfSamples);
53
59 void setSampleValues(std::vector<std::vector<ConstantType>> const& samples);
60
61 private:
62 std::pair<Assumption, AssumptionStatus> createAndCheckAssumption(uint_fast64_t val1, uint_fast64_t val2, AssumptionRelation relationType,
63 std::shared_ptr<Order> order, storage::ParameterRegion<ValueType> region,
64 std::vector<ConstantType> const minValues, std::vector<ConstantType> const maxValue) const;
65
67};
68} // namespace analysis
69} // namespace storm
void setSampleValues(std::vector< std::vector< ConstantType > > const &samples)
Sets the sample values to the given vector.
std::vector< std::pair< Assumption, AssumptionStatus > > createAndCheckAssumptions(uint_fast64_t val1, uint_fast64_t val2, std::shared_ptr< Order > order, storage::ParameterRegion< ValueType > region) const
Creates assumptions, and checks them, only VALID and UNKNOWN assumptions are returned.
void initializeCheckingOnSamples(Environment const &env, std::shared_ptr< logic::Formula const > formula, std::shared_ptr< models::sparse::Dtmc< ValueType > > model, storage::ParameterRegion< ValueType > region, uint_fast64_t numberOfSamples)
Initializes the given number of sample points for a given model, formula and region.
AssumptionMaker(storage::SparseMatrix< ValueType > matrix)
Constructs AssumptionMaker based on the matrix of the model.
This class represents a discrete-time Markov chain.
Definition Dtmc.h:16
A class that holds a possibly non-square matrix in the compressed row storage format.
AssumptionRelation
The relation a candidate assumption states between two states.
Definition Assumption.h:14