9namespace modelchecker {
11template<
typename SparseModelType,
typename ConstantType>
17template<
typename SparseModelType,
typename ConstantType>
20 STORM_LOG_THROW(this->currentCheckTask, storm::exceptions::InvalidStateException,
"Checking has been invoked but no property has been specified before.");
21 auto const& instantiatedModel = modelInstantiator.instantiate(valuation);
24 return modelChecker.
check(env, *this->currentCheckTask);
27template<
typename SparseModelType,
typename ConstantType>
30 auto const& instantiatedModel = modelInstantiator.instantiate(valuation);
33 for (
auto const& entry : instantiatedModel.getTransitionMatrix()) {
34 if (comparator.
isLess(entry.getValue(), storm::utility::zero<ConstantType>())) {
virtual std::unique_ptr< CheckResult > check(Environment const &env, CheckTask< storm::logic::Formula, SolutionType > const &checkTask)
Checks the provided formula.
Class to efficiently check a formula on a parametric model with different parameter instantiations.
virtual bool isWellDefined(storm::utility::parametric::Valuation< typename SparseModelType::ValueType > const &valuation) override
Checks if the given valuation is valid for the current model.
virtual std::unique_ptr< CheckResult > check(Environment const &env, storm::utility::parametric::Valuation< typename SparseModelType::ValueType > const &valuation) override
SparseCtmcInstantiationModelChecker(SparseModelType const ¶metricModel)
Class to efficiently check a formula on a parametric model with different parameter instantiations.
bool isLess(ValueType const &value1, ValueType const &value2) const
#define STORM_LOG_THROW(cond, exception, message)
std::map< typename VariableType< FunctionType >::type, typename CoefficientType< FunctionType >::type > Valuation