|
Storm 2.0.0.3
A Modern Probabilistic Model Checker
|
#include "storm-config.h"#include "storm/adapters/IntervalForward.h"#include "storm/adapters/RationalNumberForward.h"#include "test/storm_gtest.h"#include "storm-parsers/api/model_descriptions.h"#include "storm-parsers/api/properties.h"#include "storm-parsers/parser/DirectEncodingParser.h"#include "storm/adapters/IntervalAdapter.h"#include "storm/api/builder.h"#include "storm/api/properties.h"#include "storm/api/verification.h"#include "storm/environment/solver/MinMaxSolverEnvironment.h"#include "storm/modelchecker/prctl/SparseMdpPrctlModelChecker.h"#include "storm/modelchecker/results/ExplicitQualitativeCheckResult.h"#include "storm/modelchecker/results/ExplicitQuantitativeCheckResult.h"#include "storm/transformer/AddUncertainty.h"#include "storm/utility/constants.h"
Go to the source code of this file.
Functions | |
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > | getInitialStateFilter (std::shared_ptr< storm::models::sparse::Model< storm::Interval > > const &model) |
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > | getInitialStateFilter (std::shared_ptr< storm::models::sparse::Model< double > > const &model) |
| double | getQuantitativeResultAtInitialState (std::shared_ptr< storm::models::sparse::Model< storm::Interval > > const &model, std::unique_ptr< storm::modelchecker::CheckResult > &result) |
| double | getQuantitativeResultAtInitialState (std::shared_ptr< storm::models::sparse::Model< double > > const &model, std::unique_ptr< storm::modelchecker::CheckResult > &result) |
| void | expectThrow (std::string const &path, std::string const &formulaString, std::optional< storm::UncertaintyResolutionMode > uncertaintyResolutionMode=std::nullopt) |
| void | expectThrowPrism (std::string const &path, std::string const &formulaString) |
| void | checkExplicitModelForQuantitativeResult (std::string const &path, std::string const &formulaString, double min, double max) |
| void | checkPrismModelForQuantitativeResult (std::string const &path, std::string const &formulaString, double min, double max) |
| void | checkModelForQualitativeResult (std::string const &path, std::string const &formulaString, std::vector< storm::storage::BitVector > expectedResultVector) |
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > | getInitialStateFilter (std::shared_ptr< storm::models::sparse::Model< storm::RationalNumber > > const &model) |
| storm::ExtendedRationalNumber | getQuantitativeResultAtInitialState (std::shared_ptr< storm::models::sparse::Model< storm::RationalNumber > > const &model, std::unique_ptr< storm::modelchecker::CheckResult > &result) |
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > | getInitialStateFilter (std::shared_ptr< storm::models::sparse::Model< storm::RationalInterval > > const &model) |
| storm::ExtendedRationalNumber | getQuantitativeResultAtInitialState (std::shared_ptr< storm::models::sparse::Model< storm::RationalInterval > > const &model, std::unique_ptr< storm::modelchecker::CheckResult > &result) |
| void | expectThrowRational (std::string const &path, std::string const &formulaString, std::optional< storm::UncertaintyResolutionMode > uncertaintyResolutionMode=std::nullopt) |
| void | checkExplicitModelForQuantitativeResultRational (std::string const &path, std::string const &formulaString, storm::ExtendedRationalNumber min, storm::ExtendedRationalNumber max) |
| void | checkPrismModelForQuantitativeResultRational (std::string const &path, std::string const &formulaString, storm::RationalNumber min, storm::RationalNumber max) |
| void | makeUncertainAndCheckRational (std::string const &path, std::string const &formulaString, storm::RationalNumber amountOfUncertainty) |
| TEST (RobustDtmcModelCheckerTest, Tiny01ReachMaxMinProbs) | |
| TEST (RobustDtmcModelCheckerTest, Tiny01MaxReachProbNoUncertaintyResolutionMode) | |
| TEST (RobustDtmcModelCheckerTest, Tiny01MaxReachProbNoOptimizationDirectionButRobust) | |
| TEST (RobustDtmcModelCheckerTest, Tiny02GloballyMaxMinProbs) | |
| TEST (RobustDtmcModelCheckerTest, DieIntervalsMaxMin) | |
| TEST (RobustDtmcModelCheckerTest, BrpIntervalsMaxMin) | |
| TEST (RobustDtmcModelCheckerTest, DieIntervalsMaxMinRewards) | |
| TEST (RobustDtmcModelCheckerTest, Tiny03MaxMinRewards) | |
| TEST (RobustDtmcModelCheckerTest, Tiny03RewardsNoUncertaintyResolutionMode) | |
| TEST (RobustDtmcModelCheckerTest, Tiny04MaxMinRewards) | |
| TEST (RobustDtmcModelCheckerTest, Tiny03CumulativeRewards) | |
| TEST (RobustDtmcModelCheckerTest, Tiny04CumulativeRewards) | |
| TEST (RobustDtmcModelCheckerTest, Tiny03CumulativeRewardsNoUncertaintyResolutionMode) | |
| TEST (RobustDtmcModelCheckerTest, Tiny03CumulativeRewardsRobust) | |
| TEST (RobustDtmcModelCheckerTest, ReachabilityTimes) | |
| TEST (RobustDtmcModelCheckerTest, ReachabilityTimesAndRewardsTargetStateBeforeMaybeStates) | |
| TEST (RobustDtmcModelCheckerTest, SolutionBoundsTargetStateBeforeSeveralMaybeStates) | |
| TEST (RobustDtmcModelCheckerTest, GraphPreservationRequired) | |
| TEST (RobustDtmcModelCheckerTest, GraphPreservationAfterTightening) | |
| TEST (RobustDtmcModelCheckerTest, ReachabilityTimesNoUncertaintyResolutionMode) | |
| TEST (RobustDtmcModelCheckerTest, ReachabilityTimesRobust) | |
| TEST (RobustDtmcModelCheckerTest, CrowdsQuotientIDTMC) | |
| TEST (RobustDtmcModelCheckerTest, TinyO2Propositional) | |
| TEST (RobustDtmcModelCheckerTest, Tiny05StepBounded) | |
| TEST (RobustDtmcModelCheckerTest, BoundedMaxmin) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny01ReachMaxMinProbs) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny01MaxReachProbNoUncertaintyResolutionMode) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny01MaxReachProbNoOptimizationDirectionButRobust) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny02GloballyMaxMinProbs) | |
| TEST (RobustRationalDtmcModelCheckerTest, DieIntervalsMaxMin) | |
| TEST (RobustRationalDtmcModelCheckerTest, BrpIntervalsMaxMin) | |
| TEST (RobustRationalDtmcModelCheckerTest, DieIntervalsMaxMinRewards) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny03MaxMinRewards) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny03RewardsNoUncertaintyResolutionMode) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny04MaxMinRewards) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny03CumulativeRewards) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny04CumulativeRewards) | |
| TEST (RobustRationalDtmcModelCheckerTest, Tiny03CumulativeRewardsNoUncertaintyResolutionMode) | |
| TEST (RobustRationalDtmcModelCheckerTest, ReachabilityTimes) | |
| TEST (RobustRationalDtmcModelCheckerTest, AddUncertaintyBrpMax) | |
| void checkExplicitModelForQuantitativeResult | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| double | min, | ||
| double | max ) |
Definition at line 80 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void checkExplicitModelForQuantitativeResultRational | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| storm::ExtendedRationalNumber | min, | ||
| storm::ExtendedRationalNumber | max ) |
Definition at line 202 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void checkModelForQualitativeResult | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| std::vector< storm::storage::BitVector > | expectedResultVector ) |
Definition at line 128 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void checkPrismModelForQuantitativeResult | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| double | min, | ||
| double | max ) |
Definition at line 102 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void checkPrismModelForQuantitativeResultRational | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| storm::RationalNumber | min, | ||
| storm::RationalNumber | max ) |
Definition at line 225 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void expectThrow | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| std::optional< storm::UncertaintyResolutionMode > | uncertaintyResolutionMode = std::nullopt ) |
Definition at line 43 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void expectThrowPrism | ( | std::string const & | path, |
| std::string const & | formulaString ) |
Definition at line 62 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void expectThrowRational | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| std::optional< storm::UncertaintyResolutionMode > | uncertaintyResolutionMode = std::nullopt ) |
Definition at line 182 of file RobustDtmcPrctlModelCheckerTest.cpp.
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > getInitialStateFilter | ( | std::shared_ptr< storm::models::sparse::Model< double > > const & | model | ) |
Definition at line 25 of file RobustDtmcPrctlModelCheckerTest.cpp.
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > getInitialStateFilter | ( | std::shared_ptr< storm::models::sparse::Model< storm::Interval > > const & | model | ) |
Definition at line 20 of file RobustDtmcPrctlModelCheckerTest.cpp.
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > getInitialStateFilter | ( | std::shared_ptr< storm::models::sparse::Model< storm::RationalInterval > > const & | model | ) |
Definition at line 170 of file RobustDtmcPrctlModelCheckerTest.cpp.
| std::unique_ptr< storm::modelchecker::QualitativeCheckResult > getInitialStateFilter | ( | std::shared_ptr< storm::models::sparse::Model< storm::RationalNumber > > const & | model | ) |
Definition at line 158 of file RobustDtmcPrctlModelCheckerTest.cpp.
| double getQuantitativeResultAtInitialState | ( | std::shared_ptr< storm::models::sparse::Model< double > > const & | model, |
| std::unique_ptr< storm::modelchecker::CheckResult > & | result ) |
Definition at line 36 of file RobustDtmcPrctlModelCheckerTest.cpp.
| double getQuantitativeResultAtInitialState | ( | std::shared_ptr< storm::models::sparse::Model< storm::Interval > > const & | model, |
| std::unique_ptr< storm::modelchecker::CheckResult > & | result ) |
Definition at line 29 of file RobustDtmcPrctlModelCheckerTest.cpp.
| storm::ExtendedRationalNumber getQuantitativeResultAtInitialState | ( | std::shared_ptr< storm::models::sparse::Model< storm::RationalInterval > > const & | model, |
| std::unique_ptr< storm::modelchecker::CheckResult > & | result ) |
Definition at line 175 of file RobustDtmcPrctlModelCheckerTest.cpp.
| storm::ExtendedRationalNumber getQuantitativeResultAtInitialState | ( | std::shared_ptr< storm::models::sparse::Model< storm::RationalNumber > > const & | model, |
| std::unique_ptr< storm::modelchecker::CheckResult > & | result ) |
Definition at line 163 of file RobustDtmcPrctlModelCheckerTest.cpp.
| void makeUncertainAndCheckRational | ( | std::string const & | path, |
| std::string const & | formulaString, | ||
| storm::RationalNumber | amountOfUncertainty ) |
Definition at line 252 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| BoundedMaxmin | ) |
Definition at line 454 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| BrpIntervalsMaxMin | ) |
Definition at line 315 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| CrowdsQuotientIDTMC | ) |
Definition at line 428 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| DieIntervalsMaxMin | ) |
Definition at line 307 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| DieIntervalsMaxMinRewards | ) |
Definition at line 324 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| GraphPreservationAfterTightening | ) |
Definition at line 415 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| GraphPreservationRequired | ) |
Definition at line 408 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| ReachabilityTimes | ) |
Definition at line 370 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| ReachabilityTimesAndRewardsTargetStateBeforeMaybeStates | ) |
Definition at line 376 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| ReachabilityTimesNoUncertaintyResolutionMode | ) |
Definition at line 420 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| ReachabilityTimesRobust | ) |
Definition at line 424 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| SolutionBoundsTargetStateBeforeSeveralMaybeStates | ) |
Definition at line 382 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny01MaxReachProbNoOptimizationDirectionButRobust | ) |
Definition at line 296 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny01MaxReachProbNoUncertaintyResolutionMode | ) |
Definition at line 290 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny01ReachMaxMinProbs | ) |
Definition at line 285 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny02GloballyMaxMinProbs | ) |
Definition at line 302 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny03CumulativeRewards | ) |
Definition at line 348 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny03CumulativeRewardsNoUncertaintyResolutionMode | ) |
Definition at line 362 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny03CumulativeRewardsRobust | ) |
Definition at line 366 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny03MaxMinRewards | ) |
Definition at line 332 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny03RewardsNoUncertaintyResolutionMode | ) |
Definition at line 337 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny04CumulativeRewards | ) |
Definition at line 356 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny04MaxMinRewards | ) |
Definition at line 342 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| Tiny05StepBounded | ) |
Definition at line 447 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustDtmcModelCheckerTest | , |
| TinyO2Propositional | ) |
Definition at line 434 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| AddUncertaintyBrpMax | ) |
Definition at line 565 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| BrpIntervalsMaxMin | ) |
Definition at line 499 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| DieIntervalsMaxMin | ) |
Definition at line 491 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| DieIntervalsMaxMinRewards | ) |
Definition at line 520 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| ReachabilityTimes | ) |
Definition at line 559 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny01MaxReachProbNoOptimizationDirectionButRobust | ) |
Definition at line 482 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny01MaxReachProbNoUncertaintyResolutionMode | ) |
Definition at line 477 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny01ReachMaxMinProbs | ) |
Definition at line 472 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny02GloballyMaxMinProbs | ) |
Definition at line 487 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny03CumulativeRewards | ) |
Definition at line 543 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny03CumulativeRewardsNoUncertaintyResolutionMode | ) |
Definition at line 555 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny03MaxMinRewards | ) |
Definition at line 528 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny03RewardsNoUncertaintyResolutionMode | ) |
Definition at line 533 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny04CumulativeRewards | ) |
Definition at line 550 of file RobustDtmcPrctlModelCheckerTest.cpp.
| TEST | ( | RobustRationalDtmcModelCheckerTest | , |
| Tiny04MaxMinRewards | ) |
Definition at line 537 of file RobustDtmcPrctlModelCheckerTest.cpp.