29template<
typename SparseDtmcModelType>
35template<
typename SparseDtmcModelType>
37 bool* requiresSingleInitialState) {
47 storm::logic::prctlstar().setBoundedUntilFormulasAllowed(
true).setTimeOperatorsAllowed(
true).setReachbilityTimeFormulasAllowed(
true))) {
52 .setLongRunAverageRewardFormulasAllowed(
true)
53 .setLongRunAverageProbabilitiesAllowed(
true)
54 .setConditionalProbabilityFormulasAllowed(
true)
55 .setConditionalRewardFormulasAllowed(
true)
56 .setTotalRewardFormulasAllowed(
true)
57 .setOnlyEventuallyFormuluasInConditionalFormulasAllowed(
true)
58 .setRewardBoundedUntilFormulasAllowed(
true)
59 .setRewardBoundedCumulativeRewardFormulasAllowed(
true)
60 .setMultiDimensionalBoundedUntilFormulasAllowed(
true)
61 .setMultiDimensionalCumulativeRewardFormulasAllowed(
true)
62 .setTimeOperatorsAllowed(
true)
63 .setReachbilityTimeFormulasAllowed(
true)
64 .setRewardAccumulationAllowed(
true)
65 .setHOAPathFormulasAllowed(
true)
66 .setDiscountedTotalRewardFormulasAllowed(
true)
67 .setDiscountedCumulativeRewardFormulasAllowed(
true))) {
70 if (requiresSingleInitialState) {
71 *requiresSingleInitialState =
true;
80template<
typename SparseDtmcModelType>
82 bool requiresSingleInitialState =
false;
84 return !requiresSingleInitialState || this->
getModel().getInitialStates().getNumberOfSetBits() == 1;
90template<
typename SparseDtmcModelType>
96 "Checking non-trivial bounded until probabilities can only be computed for the initial states of the model.");
101 auto formula = std::make_shared<storm::logic::ProbabilityOperatorFormula>(checkTask.
getFormula().asSharedPointer(), opInfo);
107 STORM_LOG_THROW(pathFormula.
hasUpperBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have (a single) upper step bound.");
115 std::vector<SolutionType> numericResult =
helper.computeStepBoundedUntilProbabilities(
120 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
121 result->setValuesExact();
126template<
typename SparseDtmcModelType>
130 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented next probabilities with intervals.");
133 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, pathFormula.
getSubformula());
135 std::vector<SolutionType> numericResult =
138 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
139 result->setValuesExact();
144template<
typename SparseDtmcModelType>
150 "Uncertainty resolution mode must be set for uncertain (interval) models.");
153 storm::exceptions::InvalidSettingsException,
154 "Uncertainty resolution modes robust or cooperative not allowed if optimization direction is not stated explicitly.");
155 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
156 "Computing until probabilities on uncertain model requires graph-preservation.");
164 STORM_LOG_INFO(
"Computing reachability probabilities with certificate ...");
165 std::optional<storm::storage::BitVector> constraintStates;
166 std::optional<std::string> constraintLabel;
175 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
177 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
184 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(ret.values));
185 result->setBounds(std::move(ret.solutionBounds));
189template<
typename SparseDtmcModelType>
193 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented globally probabilities with intervals.");
196 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, pathFormula.
getSubformula());
201 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(ret.values));
202 result->setBounds(std::move(ret.solutionBounds));
207template<
typename SparseDtmcModelType>
211 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented automata-props with intervals.");
219 return this->
check(env, formula)->template asExplicitQualitativeCheckResult<SolutionType>().getTruthValuesVector();
222 std::vector<ValueType> numericResult =
helper.computeDAProductProbabilities(env, *pathFormula.
readAutomaton(), apSets);
228template<
typename SparseDtmcModelType>
232 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented LTL with interval models.");
240 return this->
check(env, formula)->template asExplicitQualitativeCheckResult<SolutionType>().getTruthValuesVector();
242 std::vector<ValueType> numericResult =
helper.computeLTLProbabilities(env, pathFormula, formulaChecker);
248template<
typename SparseDtmcModelType>
255 "We have not yet implemented multi-dimensional or reward-bounded cumulative rewards with intervals.");
258 "Checking non-trivial bounded until probabilities can only be computed for the initial states of the model.");
260 "Checking reward bounded cumulative reward formulas is not supported if reward accumulations are given.");
265 auto formula = std::make_shared<storm::logic::RewardOperatorFormula>(checkTask.
getFormula().asSharedPointer(), checkTask.
getRewardModel(), opInfo);
274 "Uncertainty resolution mode must be set for uncertain (interval) models.");
277 storm::exceptions::InvalidSettingsException,
278 "Uncertainty resolution modes robust or cooperative not allowed if optimization direction is not stated explicitly.");
280 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
282 std::vector<SolutionType> numericResult =
286 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
287 result->setValuesExact();
295 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for parametric models.");
298template<
typename SparseDtmcModelType>
302 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented discounted cumulative rewards with intervals.");
305 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
307 std::vector<SolutionType> numericResult =
311 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
312 result->setValuesExact();
317template<
typename SparseDtmcModelType>
321 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented instantaneous rewards with intervals.");
324 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
325 std::vector<SolutionType> numericResult =
329 rewardPathFormula.
getBound<uint64_t>());
330 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
331 result->setValuesExact();
336template<
typename SparseDtmcModelType>
342 "Uncertainty resolution mode must be set for uncertain (interval) models.");
345 storm::exceptions::InvalidSettingsException,
346 "Uncertainty resolution modes robust or cooperative not allowed if optimization direction is not stated explicitly.");
347 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
348 "Computing rewards on uncertain model requires graph-preservation.");
350 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, eventuallyFormula.
getSubformula());
355 STORM_LOG_INFO(
"Computing reachability rewards with certificate ...");
358 rewardModel.
get().getTotalRewardVector(this->getModel().getTransitionMatrix()), eventuallyFormula.
getSubformula().
toString(),
361 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
363 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
369 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(ret.values));
370 result->setBounds(std::move(ret.solutionBounds));
374template<
typename SparseDtmcModelType>
379 "Uncertainty resolution mode must be set for uncertain (interval) models.");
382 storm::exceptions::InvalidSettingsException,
383 "Uncertainty resolution modes robust or cooperative not allowed if optimization direction is not stated explicitly.");
384 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
385 "Computing reachability times on uncertain model requires graph-preservation.");
388 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, eventuallyFormula.
getSubformula());
392 STORM_LOG_INFO(
"Computing reachability times with certificate ...");
398 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
400 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
406 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(ret.values));
407 result->setBounds(std::move(ret.solutionBounds));
411template<
typename SparseDtmcModelType>
415 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented total rewards with intervals.");
421 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(ret.values));
422 result->setBounds(std::move(ret.solutionBounds));
430 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for parametric models.");
433template<
typename SparseDtmcModelType>
437 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented discounted total rewards with intervals.");
450template<
typename SparseDtmcModelType>
454 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented LRA probabilities with intervals.");
457 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, stateFormula);
468template<
typename SparseDtmcModelType>
472 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented lra with intervals.");
477 auto values =
helper.computeLongRunAverageRewards(env, rewardModel.get());
482template<
typename SparseDtmcModelType>
486 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented conditional probabilities with intervals.");
490 "Illegal conditional probability formula.");
492 "Illegal conditional probability formula.");
499 std::vector<ExtendedSolutionType> numericResult =
507template<
typename SparseDtmcModelType>
511 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented conditional rewards with intervals.");
515 "Illegal conditional probability formula.");
517 "Illegal conditional probability formula.");
524 std::vector<ExtendedSolutionType> numericResult =
527 this->
getModel().getBackwardTransitions(),
537 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Quantiles for parametric models are not implemented.");
540template<
typename SparseDtmcModelType>
544 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented quantile formulas with intervals.");
547 "Computing quantiles is only supported for the initial states of a model.");
548 STORM_LOG_THROW(this->
getModel().getInitialStates().getNumberOfSetBits() == 1, storm::exceptions::InvalidOperationException,
549 "Quantiles not supported on models with multiple initial states.");
550 uint64_t initialState = *this->
getModel().getInitialStates().begin();
555 if (res.size() == 1 && res.front().size() == 1) {
563template<
typename SparseDtmcModelType>
566 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented steady state distributions with intervals.");
572 std::vector<SolutionType> result;
573 auto const& initialStates = this->
getModel().getInitialStates();
574 uint64_t numInitStates = initialStates.getNumberOfSetBits();
575 if (numInitStates == 1) {
576 result =
helper.computeLongRunAverageStateDistribution(env, *initialStates.begin());
578 STORM_LOG_WARN(
"Multiple initial states found. A uniform distribution over initial states is assumed.");
580 result =
helper.computeLongRunAverageStateDistribution(env, [&initialStates, &initProb](uint64_t
const& stateIndex) {
590template<
typename SparseDtmcModelType>
593 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented expected visiting times with intervals.");
599 std::vector<ExtendedSolutionType> result;
600 auto const& initialStates = this->
getModel().getInitialStates();
601 uint64_t numInitStates = initialStates.getNumberOfSetBits();
602 STORM_LOG_THROW(numInitStates > 0, storm::exceptions::InvalidOperationException,
"No initial states given. Cannot compute expected visiting times.");
603 STORM_LOG_WARN_COND(numInitStates == 1,
"Multiple initial states found. A uniform distribution over initial states is assumed.");
604 result =
helper.computeExpectedVisitingTimes(env, initialStates);
bool isRewardBound() const
virtual std::unique_ptr< CheckResult > check(Environment const &env, CheckTask< storm::logic::Formula, SolutionType > const &checkTask)
bool isBoundSet() const
Retrieves whether there is a bound with which the values for the states will be compared.
bool isProduceCertificateSet() const
Retrieves whether certificate(s) are to be produced (if supported).
bool isRewardModelSet() const
Retrieves whether a reward model was set.
bool isQualitativeSet() const
Retrieves whether the computation only needs to be performed qualitatively, because the values will o...
std::string const & getRewardModel() const
Retrieves the reward model over which to perform the checking (if set).
FormulaType const & getFormula() const
Retrieves the formula from this task.
ModelCheckerHint const & getHint() const
Retrieves a hint that might contain information that speeds up the modelchecking process (if supporte...
bool isUncertaintyResolutionModeSet() const
Returns whether the mode, which decides how the uncertainty will be resolved, is set.
storm::logic::Bound const & getBound() const
Retrieves the bound (if set).
bool isOnlyInitialStatesRelevantSet() const
Retrieves whether only the initial states are relevant in the computation.
UncertaintyResolutionMode getUncertaintyResolutionMode() const
Retrieves the mode which decides how the uncertainty will be resolved.
A qualitative check result over the states of a sparse model.
vector_type const & getTruthValuesVector() const
Retrieves the truth values, one per state this result is for.
A quantitative check result over the states of a sparse model.
virtual std::unique_ptr< CheckResult > computeReachabilityTimes(Environment const &env, CheckTask< storm::logic::EventuallyFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeLTLProbabilities(Environment const &env, CheckTask< storm::logic::PathFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeConditionalProbabilities(Environment const &env, CheckTask< storm::logic::ConditionalFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeNextProbabilities(Environment const &env, CheckTask< storm::logic::NextFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeReachabilityRewards(Environment const &env, CheckTask< storm::logic::EventuallyFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeLongRunAverageProbabilities(Environment const &env, CheckTask< storm::logic::StateFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeBoundedUntilProbabilities(Environment const &env, CheckTask< storm::logic::BoundedUntilFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeUntilProbabilities(Environment const &env, CheckTask< storm::logic::UntilFormula, SolutionType > const &checkTask) override
std::unique_ptr< CheckResult > computeExpectedVisitingTimes(Environment const &env)
Computes for each state the expected number of times we visit that state.
storm::IntervalBaseType< ValueType > SolutionType
virtual std::unique_ptr< CheckResult > computeTotalRewards(Environment const &env, CheckTask< storm::logic::TotalRewardFormula, SolutionType > const &checkTask) override
SparseDtmcModelType::ValueType ValueType
virtual std::unique_ptr< CheckResult > computeDiscountedTotalRewards(Environment const &env, CheckTask< storm::logic::DiscountedTotalRewardFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeDiscountedCumulativeRewards(Environment const &env, CheckTask< storm::logic::DiscountedCumulativeRewardFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeHOAPathProbabilities(Environment const &env, CheckTask< storm::logic::HOAPathFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeInstantaneousRewards(Environment const &env, CheckTask< storm::logic::InstantaneousRewardFormula, SolutionType > const &checkTask) override
SparseDtmcPrctlModelChecker(SparseDtmcModelType const &model)
virtual std::unique_ptr< CheckResult > computeCumulativeRewards(Environment const &env, CheckTask< storm::logic::CumulativeRewardFormula, SolutionType > const &checkTask) override
static bool canHandleStatic(CheckTask< storm::logic::Formula, SolutionType > const &checkTask, bool *requiresSingleInitialState=nullptr)
Returns false, if this task can certainly not be handled by this model checker (independent of the co...
virtual std::unique_ptr< CheckResult > computeGloballyProbabilities(Environment const &env, CheckTask< storm::logic::GloballyFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeLongRunAverageRewards(Environment const &env, CheckTask< storm::logic::LongRunAverageRewardFormula, SolutionType > const &checkTask) override
virtual bool canHandle(CheckTask< storm::logic::Formula, SolutionType > const &checkTask) const override
std::unique_ptr< CheckResult > computeSteadyStateDistribution(Environment const &env)
Computes the long run average (or: steady state) distribution over all states Assumes a uniform distr...
virtual std::unique_ptr< CheckResult > computeConditionalRewards(Environment const &env, CheckTask< storm::logic::ConditionalFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > checkQuantileFormula(Environment const &env, CheckTask< storm::logic::QuantileFormula, SolutionType > const &checkTask) override
SparsePropositionalModelChecker(SparseDtmcModelType const &model)
SparseDtmcModelType const & getModel() const
Helper class for model checking queries that depend on the long run behavior of the (nondeterministic...
Helper class for computing for each state the expected number of times to visit that state assuming a...
static std::vector< SolutionType > computeDiscountedCumulativeRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, RewardModelType const &rewardModel, uint_fast64_t stepBound, ValueType discountFactor)
static DTMCSparseModelCheckingHelperReturnType< ExtendedSolutionType > computeTotalRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, RewardModelType const &rewardModel, bool qualitative, ModelCheckerHint const &hint=ModelCheckerHint())
static std::vector< SolutionType > computeDiscountedTotalRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, RewardModelType const &rewardModel, bool qualitative, ValueType discountFactor, ModelCheckerHint const &hint=ModelCheckerHint())
static std::vector< SolutionType > computeRewardBoundedValues(Environment const &env, storm::models::sparse::Dtmc< ValueType > const &model, std::shared_ptr< storm::logic::OperatorFormula const > rewardBoundedFormula)
static std::vector< SolutionType > computeCumulativeRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, RewardModelType const &rewardModel, uint_fast64_t stepBound)
static std::vector< SolutionType > computeInstantaneousRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, RewardModelType const &rewardModel, uint_fast64_t stepCount)
static DTMCSparseModelCheckingHelperReturnType< ExtendedSolutionType > computeReachabilityTimes(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &targetStates, bool qualitative, ModelCheckerHint const &hint=ModelCheckerHint())
static std::vector< ExtendedSolutionType > computeConditionalProbabilities(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &conditionStates, bool qualitative)
static std::vector< SolutionType > computeNextProbabilities(Environment const &env, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::BitVector const &nextStates)
static DTMCSparseModelCheckingHelperReturnType< ExtendedSolutionType > computeReachabilityRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, RewardModelType const &rewardModel, storm::storage::BitVector const &targetStates, bool qualitative, ModelCheckerHint const &hint=ModelCheckerHint())
static DTMCSparseModelCheckingHelperReturnType< SolutionType > computeUntilProbabilities(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &phiStates, storm::storage::BitVector const &psiStates, bool qualitative, ModelCheckerHint const &hint=ModelCheckerHint())
static DTMCSparseModelCheckingHelperReturnType< SolutionType > computeGloballyProbabilities(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &psiStates, bool qualitative)
static std::vector< ExtendedSolutionType > computeConditionalRewards(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, RewardModelType const &rewardModel, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &conditionStates, bool qualitative)
Helper class for LTL model checking.
std::vector< std::vector< storm::utility::ExtendedValueType< ValueType > > > computeQuantile(Environment const &env)
A bit vector that is internally represented as a vector of 64-bit values.
bool get(uint64_t index) const
Retrieves the truth value of the bit at the given index and performs a bound check.
#define STORM_LOG_INFO(message)
#define STORM_LOG_WARN(message)
#define STORM_LOG_THROW_UNCONDITIONALLY(exception, message)
#define STORM_LOG_WARN_COND(cond, message)
#define STORM_LOG_THROW(cond, exception, message)
FragmentSpecification prctlstar()
FragmentSpecification propositional()
FragmentSpecification reachability()
FragmentSpecification quantiles()
void setInformationFromCheckTaskDeterministic(HelperType &helper, storm::modelchecker::CheckTask< FormulaType, typename ModelType::ValueType > const &checkTask, ModelType const &model)
Forwards relevant information stored in the given CheckTask to the given helper.
constexpr bool SupportsCertificates
Certificates can be computed for models with these value types.
std::unique_ptr< ReachabilityRewardCertificate< ValueType > > computeReachabilityRewardCertificate(storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::vector< ValueType > stateActionRewardVector, std::string targetLabel, std::string rewardModelName)
Computes a certificate for expected rewards accumulated until reaching the target states.
std::unique_ptr< ReachabilityProbabilityCertificate< ValueType > > computeReachabilityProbabilityCertificate(storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::optional< storm::storage::BitVector > constraintStates, std::string targetLabel, std::optional< std::string > constraintLabel)
Computes a certificate for reachability probabilities (or constrained reachability probabilities if c...
FilteredRewardModel< RewardModelType > createFilteredRewardModel(RewardModelType const &baseRewardModel, storm::logic::RewardAccumulation const &acc, bool isDiscreteTimeModel)
TargetType convertNumber(SourceType const &number)
The contract of a DD backend.
constexpr bool IsIntervalType
Helper to check if a type is an interval.