Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
RobustDtmcPrctlModelCheckerTest.cpp File Reference
Include dependency graph for RobustDtmcPrctlModelCheckerTest.cpp:

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)

Function Documentation

◆ checkExplicitModelForQuantitativeResult()

void checkExplicitModelForQuantitativeResult ( std::string const & path,
std::string const & formulaString,
double min,
double max )

Definition at line 80 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ checkExplicitModelForQuantitativeResultRational()

void checkExplicitModelForQuantitativeResultRational ( std::string const & path,
std::string const & formulaString,
storm::ExtendedRationalNumber min,
storm::ExtendedRationalNumber max )

Definition at line 202 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ checkModelForQualitativeResult()

void checkModelForQualitativeResult ( std::string const & path,
std::string const & formulaString,
std::vector< storm::storage::BitVector > expectedResultVector )

Definition at line 128 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ checkPrismModelForQuantitativeResult()

void checkPrismModelForQuantitativeResult ( std::string const & path,
std::string const & formulaString,
double min,
double max )

Definition at line 102 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ checkPrismModelForQuantitativeResultRational()

void checkPrismModelForQuantitativeResultRational ( std::string const & path,
std::string const & formulaString,
storm::RationalNumber min,
storm::RationalNumber max )

Definition at line 225 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ expectThrow()

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.

◆ expectThrowPrism()

void expectThrowPrism ( std::string const & path,
std::string const & formulaString )

Definition at line 62 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ expectThrowRational()

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.

◆ getInitialStateFilter() [1/4]

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.

◆ getInitialStateFilter() [2/4]

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.

◆ getInitialStateFilter() [3/4]

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.

◆ getInitialStateFilter() [4/4]

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.

◆ getQuantitativeResultAtInitialState() [1/4]

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.

◆ getQuantitativeResultAtInitialState() [2/4]

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.

◆ getQuantitativeResultAtInitialState() [3/4]

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.

◆ getQuantitativeResultAtInitialState() [4/4]

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.

◆ makeUncertainAndCheckRational()

void makeUncertainAndCheckRational ( std::string const & path,
std::string const & formulaString,
storm::RationalNumber amountOfUncertainty )

Definition at line 252 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [1/40]

TEST ( RobustDtmcModelCheckerTest ,
BoundedMaxmin  )

Definition at line 454 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [2/40]

TEST ( RobustDtmcModelCheckerTest ,
BrpIntervalsMaxMin  )

Definition at line 315 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [3/40]

TEST ( RobustDtmcModelCheckerTest ,
CrowdsQuotientIDTMC  )

Definition at line 428 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [4/40]

TEST ( RobustDtmcModelCheckerTest ,
DieIntervalsMaxMin  )

Definition at line 307 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [5/40]

TEST ( RobustDtmcModelCheckerTest ,
DieIntervalsMaxMinRewards  )

Definition at line 324 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [6/40]

TEST ( RobustDtmcModelCheckerTest ,
GraphPreservationAfterTightening  )

Definition at line 415 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [7/40]

TEST ( RobustDtmcModelCheckerTest ,
GraphPreservationRequired  )

Definition at line 408 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [8/40]

TEST ( RobustDtmcModelCheckerTest ,
ReachabilityTimes  )

Definition at line 370 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [9/40]

TEST ( RobustDtmcModelCheckerTest ,
ReachabilityTimesAndRewardsTargetStateBeforeMaybeStates  )

Definition at line 376 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [10/40]

TEST ( RobustDtmcModelCheckerTest ,
ReachabilityTimesNoUncertaintyResolutionMode  )

Definition at line 420 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [11/40]

TEST ( RobustDtmcModelCheckerTest ,
ReachabilityTimesRobust  )

Definition at line 424 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [12/40]

TEST ( RobustDtmcModelCheckerTest ,
SolutionBoundsTargetStateBeforeSeveralMaybeStates  )

Definition at line 382 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [13/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny01MaxReachProbNoOptimizationDirectionButRobust  )

Definition at line 296 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [14/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny01MaxReachProbNoUncertaintyResolutionMode  )

Definition at line 290 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [15/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny01ReachMaxMinProbs  )

Definition at line 285 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [16/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny02GloballyMaxMinProbs  )

Definition at line 302 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [17/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny03CumulativeRewards  )

Definition at line 348 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [18/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny03CumulativeRewardsNoUncertaintyResolutionMode  )

Definition at line 362 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [19/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny03CumulativeRewardsRobust  )

Definition at line 366 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [20/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny03MaxMinRewards  )

Definition at line 332 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [21/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny03RewardsNoUncertaintyResolutionMode  )

Definition at line 337 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [22/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny04CumulativeRewards  )

Definition at line 356 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [23/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny04MaxMinRewards  )

Definition at line 342 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [24/40]

TEST ( RobustDtmcModelCheckerTest ,
Tiny05StepBounded  )

Definition at line 447 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [25/40]

TEST ( RobustDtmcModelCheckerTest ,
TinyO2Propositional  )

Definition at line 434 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [26/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
AddUncertaintyBrpMax  )

Definition at line 565 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [27/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
BrpIntervalsMaxMin  )

Definition at line 499 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [28/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
DieIntervalsMaxMin  )

Definition at line 491 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [29/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
DieIntervalsMaxMinRewards  )

Definition at line 520 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [30/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
ReachabilityTimes  )

Definition at line 559 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [31/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny01MaxReachProbNoOptimizationDirectionButRobust  )

Definition at line 482 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [32/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny01MaxReachProbNoUncertaintyResolutionMode  )

Definition at line 477 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [33/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny01ReachMaxMinProbs  )

Definition at line 472 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [34/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny02GloballyMaxMinProbs  )

Definition at line 487 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [35/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny03CumulativeRewards  )

Definition at line 543 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [36/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny03CumulativeRewardsNoUncertaintyResolutionMode  )

Definition at line 555 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [37/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny03MaxMinRewards  )

Definition at line 528 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [38/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny03RewardsNoUncertaintyResolutionMode  )

Definition at line 533 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [39/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny04CumulativeRewards  )

Definition at line 550 of file RobustDtmcPrctlModelCheckerTest.cpp.

◆ TEST() [40/40]

TEST ( RobustRationalDtmcModelCheckerTest ,
Tiny04MaxMinRewards  )

Definition at line 537 of file RobustDtmcPrctlModelCheckerTest.cpp.