33template<
typename SparseMdpModelType>
39template<
typename SparseMdpModelType>
41 bool* requiresSingleInitialState) {
51 storm::logic::prctlstar().setBoundedUntilFormulasAllowed(
true).setTimeOperatorsAllowed(
true).setReachbilityTimeFormulasAllowed(
true))) {
56 .setLongRunAverageRewardFormulasAllowed(
true)
57 .setLongRunAverageProbabilitiesAllowed(
true)
58 .setConditionalProbabilityFormulasAllowed(
true)
59 .setOnlyEventuallyFormuluasInConditionalFormulasAllowed(
true)
60 .setTotalRewardFormulasAllowed(
true)
61 .setRewardBoundedUntilFormulasAllowed(
true)
62 .setRewardBoundedCumulativeRewardFormulasAllowed(
true)
63 .setMultiDimensionalBoundedUntilFormulasAllowed(
true)
64 .setMultiDimensionalCumulativeRewardFormulasAllowed(
true)
65 .setTimeOperatorsAllowed(
true)
66 .setReachbilityTimeFormulasAllowed(
true)
67 .setRewardAccumulationAllowed(
true)
68 .setDiscountedTotalRewardFormulasAllowed(
true)
69 .setDiscountedCumulativeRewardFormulasAllowed(
true))) {
98 if (requiresSingleInitialState) {
99 *requiresSingleInitialState =
true;
108template<
typename SparseMdpModelType>
110 bool requiresSingleInitialState =
false;
112 return !requiresSingleInitialState || this->
getModel().getInitialStates().getNumberOfSetBits() == 1;
118template<
typename SparseMdpModelType>
123 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
126 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented multi dimensional bounded until with intervals.");
130 "Checking non-trivial bounded until probabilities can only be computed for the initial states of the model.");
136 auto formula = std::make_shared<storm::logic::ProbabilityOperatorFormula>(checkTask.
getFormula().asSharedPointer(), opInfo);
141 return std::unique_ptr<CheckResult>(
145 STORM_LOG_THROW(pathFormula.
hasUpperBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have (a single) upper step bound.");
153 std::vector<SolutionType> numericResult =
helper.computeStepBoundedUntilProbabilities(
157 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
158 result->setValuesExact();
163template<
typename SparseMdpModelType>
168 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
169 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, pathFormula.
getSubformula());
174 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
175 result->setValuesExact();
179template<
typename SparseMdpModelType>
184 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
186 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
187 "Computing until probabilities on uncertain model requires graph-preservation.");
195 STORM_LOG_INFO(
"Computing reachability probabilities with certificate ...");
197 std::optional<storm::storage::BitVector> constraintStates;
198 std::optional<std::string> constraintLabel;
207 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
209 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
217 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
219 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
224template<
typename SparseMdpModelType>
229 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
230 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, pathFormula.
getSubformula());
236 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
238 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
243template<
typename SparseMdpModelType>
247 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented automata-props with intervals.");
255 return this->
check(env, formula)->template asExplicitQualitativeCheckResult<SolutionType>().getTruthValuesVector();
258 std::vector<SolutionType> numericResult =
helper.computeDAProductProbabilities(env, *pathFormula.
readAutomaton(), apSets);
262 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(
270template<
typename SparseMdpModelType>
274 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented LTL with intervals.");
279 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
285 return this->
check(env, formula)->template asExplicitQualitativeCheckResult<SolutionType>().getTruthValuesVector();
287 std::vector<SolutionType> numericResult =
helper.computeLTLProbabilities(env, pathFormula, formulaChecker);
291 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(
299template<
typename SparseMdpModelType>
304 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
305 STORM_LOG_THROW(this->
getModel().getInitialStates().hasUniqueSetBit(), storm::exceptions::InvalidPropertyException,
306 "Cannot compute conditional probabilities on MDPs with more than one initial state.");
308 "Conditional probabilities can only be computed for the initial states of the model.");
310 "Illegal conditional probability formula.");
312 "Illegal conditional probability formula.");
319 STORM_LOG_THROW(
false, exceptions::NotSupportedException,
"Conditional Probabilities are not supported with interval models.");
328template<
typename SparseMdpModelType>
333 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
337 "We have not yet implemented multi-dimensional or reward-bounded cumulative rewards with intervals.");
340 "Checking reward bounded cumulative reward formulas can only be done for the initial states of the model.");
342 "Checking reward bounded cumulative reward formulas is not supported if reward accumulations are given.");
348 auto formula = std::make_shared<storm::logic::RewardOperatorFormula>(checkTask.
getFormula().asSharedPointer(), checkTask.
getRewardModel(), opInfo);
353 return std::unique_ptr<CheckResult>(
359 "Uncertainty resolution mode must be set for uncertain (interval) models.");
361 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
366 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
367 result->setValuesExact();
375 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for interval models.");
381 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for interval models.");
384template<
typename SparseMdpModelType>
389 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
390 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
395 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
396 result->setValuesExact();
400template<
typename SparseMdpModelType>
405 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
406 STORM_LOG_THROW(rewardPathFormula.
hasIntegerBound(), storm::exceptions::InvalidPropertyException,
"Formula needs to have a discrete time bound.");
410 rewardPathFormula.
getBound<uint64_t>());
411 auto result = std::make_unique<ExplicitQuantitativeCheckResult<SolutionType>>(std::move(numericResult));
412 result->setValuesExact();
416template<
typename SparseMdpModelType>
421 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
423 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
424 "Computing rewards on uncertain model requires graph-preservation.");
426 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, eventuallyFormula.
getSubformula());
431 STORM_LOG_INFO(
"Computing reachability rewards with certificate ...");
435 rewardModel.
get().getTotalRewardVector(this->getModel().getTransitionMatrix()), eventuallyFormula.
getSubformula().
toString(),
438 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
440 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
448 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
450 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
455template<
typename SparseMdpModelType>
460 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
462 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
463 "Computing reachability times on uncertain model requires graph-preservation.");
465 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, eventuallyFormula.
getSubformula());
469 STORM_LOG_INFO(
"Computing reachability times with certificate ...");
476 return std::make_unique<ExplicitCertificateCheckResult<ValueType>>(std::move(certificate), std::move(allStates));
478 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Certificates are not implemented for this value type.");
486 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
488 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
493template<
typename SparseMdpModelType>
497 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
499 STORM_LOG_THROW(this->
getModel().getTransitionMatrix().isProbabilisticGraphPreserving(), storm::exceptions::InvalidSettingsException,
500 "Computing total rewards on uncertain model requires graph-preservation.");
507 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
509 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
517 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for interval models.");
523 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"Discounted properties are not implemented for interval models.");
526template<
typename SparseMdpModelType>
530 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
539 result->asExplicitQuantitativeCheckResult<
SolutionType>().setBounds(std::move(ret.solutionBounds));
541 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(std::move(ret.scheduler));
546template<
typename SparseMdpModelType>
550 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented LRA probabilities with intervals.");
554 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
555 std::unique_ptr<CheckResult> subResultPointer = this->
check(env, stateFormula);
564 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(
571template<
typename SparseMdpModelType>
575 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented lra with intervals.");
578 "Formula needs to specify whether minimal or maximal values are to be computed on nondeterministic model.");
582 auto values =
helper.computeLongRunAverageRewards(env, rewardModel.get());
585 result->asExplicitQuantitativeCheckResult<
SolutionType>().setScheduler(
592template<
typename SparseMdpModelType>
596 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented multi-objective with intervals.");
602template<
class SparseMdpModelType>
606 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented lexicographic model checking with intervals.");
609 return this->
check(env, formula)->template asExplicitQualitativeCheckResult<SolutionType>().getTruthValuesVector();
617template<
typename SparseMdpModelType>
621 STORM_LOG_THROW(
false, storm::exceptions::NotImplementedException,
"We have not yet implemented quantile formulas with intervals.");
624 "Computing quantiles is only supported for the initial states of a model.");
625 STORM_LOG_THROW(this->
getModel().getInitialStates().getNumberOfSetBits() == 1, storm::exceptions::InvalidOperationException,
626 "Quantiles not supported on models with multiple initial states.");
627 uint64_t initialState = *this->
getModel().getInitialStates().begin();
632 if (res.size() == 1 && res.front().size() == 1) {
FragmentSpecification & setStepBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setRewardBoundedCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setRewardAccumulationAllowed(bool newValue)
FragmentSpecification & setMultiDimensionalBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setTimeBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setMultiDimensionalCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setRewardBoundedUntilFormulasAllowed(bool newValue)
FragmentSpecification & setTimeBoundedCumulativeRewardFormulasAllowed(bool newValue)
FragmentSpecification & setHOAPathFormulasAllowed(bool newValue)
FragmentSpecification & setTimeAllowed(bool newValue)
FragmentSpecification & setStepBoundedCumulativeRewardFormulasAllowed(bool newValue)
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 isOptimizationDirectionSet() const
Retrieves whether an optimization direction was set.
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.
bool isProduceSchedulersSet() const
Retrieves whether scheduler(s) are to be produced (if supported).
storm::logic::Bound const & getBound() const
Retrieves the bound (if set).
storm::OptimizationDirection const & getOptimizationDirection() const
Retrieves the optimization direction (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 > computeLongRunAverageProbabilities(Environment const &env, CheckTask< storm::logic::StateFormula, SolutionType > const &checkTask) override
SparseMdpModelType::ValueType ValueType
virtual std::unique_ptr< CheckResult > computeCumulativeRewards(Environment const &env, CheckTask< storm::logic::CumulativeRewardFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeLongRunAverageRewards(Environment const &env, CheckTask< storm::logic::LongRunAverageRewardFormula, 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 > checkMultiObjectiveFormula(Environment const &env, CheckTask< storm::logic::MultiObjectiveFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeReachabilityTimes(Environment const &env, CheckTask< storm::logic::EventuallyFormula, 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 > computeLTLProbabilities(Environment const &env, CheckTask< storm::logic::PathFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeGloballyProbabilities(Environment const &env, CheckTask< storm::logic::GloballyFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeUntilProbabilities(Environment const &env, CheckTask< storm::logic::UntilFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > checkQuantileFormula(Environment const &env, CheckTask< storm::logic::QuantileFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > checkLexObjectiveFormula(Environment const &env, CheckTask< storm::logic::MultiObjectiveFormula, SolutionType > const &checkTask) override
virtual bool canHandle(CheckTask< storm::logic::Formula, SolutionType > const &checkTask) const override
virtual std::unique_ptr< CheckResult > computeReachabilityRewards(Environment const &env, CheckTask< storm::logic::EventuallyFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeHOAPathProbabilities(Environment const &env, CheckTask< storm::logic::HOAPathFormula, SolutionType > const &checkTask) override
storm::IntervalBaseType< ValueType > SolutionType
virtual std::unique_ptr< CheckResult > computeInstantaneousRewards(Environment const &env, CheckTask< storm::logic::InstantaneousRewardFormula, 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 > computeDiscountedTotalRewards(Environment const &env, CheckTask< storm::logic::DiscountedTotalRewardFormula, SolutionType > const &checkTask) override
virtual std::unique_ptr< CheckResult > computeTotalRewards(Environment const &env, CheckTask< storm::logic::TotalRewardFormula, SolutionType > const &checkTask) override
SparseMdpPrctlModelChecker(SparseMdpModelType const &model)
virtual std::unique_ptr< CheckResult > computeBoundedUntilProbabilities(Environment const &env, CheckTask< storm::logic::BoundedUntilFormula, SolutionType > const &checkTask) override
SparsePropositionalModelChecker(SparseMdpModelType const &model)
SparseMdpModelType const & getModel() const
Helper class for LTL model checking.
static ExtendedReturnType 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, bool produceScheduler, ValueType discountFactor, ModelCheckerHint const &hint=ModelCheckerHint())
static ExtendedReturnType 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, bool produceScheduler, ModelCheckerHint const &hint=ModelCheckerHint())
static MDPSparseModelCheckingHelperReturnType< 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, bool produceScheduler, bool useMecBasedTechnique=false)
static ExtendedReturnType 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, bool produceScheduler, ModelCheckerHint const &hint=ModelCheckerHint())
static std::vector< SolutionType > computeNextProbabilities(Environment const &env, OptimizationDirection dir, UncertaintyResolutionMode uncertaintyResolutionMode, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::BitVector const &nextStates)
static ExtendedReturnType 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, bool produceScheduler, ModelCheckerHint const &hint=ModelCheckerHint())
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 MDPSparseModelCheckingHelperReturnType< 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, bool produceScheduler, ModelCheckerHint const &hint=ModelCheckerHint())
static std::vector< SolutionType > computeRewardBoundedValues(Environment const &env, OptimizationDirection dir, rewardbounded::MultiDimensionalRewardUnfolding< ValueType, true > &rewardUnfolding, storm::storage::BitVector const &initialStates)
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 > 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)
Helper class for model checking queries that depend on the long run behavior of the (nondeterministic...
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.
This class defines which action is chosen in a particular state of a non-deterministic model.
#define STORM_LOG_INFO(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 lexObjective()
FragmentSpecification multiObjective()
FragmentSpecification reachability()
FragmentSpecification quantiles()
void setInformationFromCheckTaskNondeterministic(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.
helper::MDPSparseModelCheckingHelperReturnType< ValueType > check(Environment const &env, SparseModelType const &model, CheckTask< storm::logic::MultiObjectiveFormula, ValueType > const &checkTask, CheckFormulaCallback const &formulaChecker)
check a lexicographic LTL-formula
std::unique_ptr< CheckResult > performMultiObjectiveModelChecking(Environment const &env, SparseModelType const &model, storm::logic::MultiObjectiveFormula const &formula, bool produceScheduler)
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< CheckResult > computeConditionalProbabilities(Environment const &env, storm::solver::SolveGoal< ValueType, SolutionType > &&goal, bool produceSchedulers, storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &conditionStates)
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)
The contract of a DD backend.
constexpr bool IsIntervalType
Helper to check if a type is an interval.