Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::modelchecker Namespace Reference

Namespaces

namespace  detail
namespace  helper
namespace  exploration_detail
namespace  internal
namespace  lexicographic
namespace  multiobjective
namespace  region

Classes

class  SymbolicMdpPrctlModelChecker
class  QuantitativeCheckResult
class  SymbolicQuantitativeCheckResult
class  SparseCtmcInstantiationModelChecker
 Class to efficiently check a formula on a parametric model with different parameter instantiations. More...
class  SparseDtmcInstantiationModelChecker
 Class to efficiently check a formula on a parametric model with different parameter instantiations. More...
class  SparseInstantiationModelChecker
 Class to efficiently check a formula on a parametric model with different parameter instantiations. More...
class  SparseMdpInstantiationModelChecker
 Class to efficiently check a formula on a parametric model with different parameter instantiations. More...
struct  AnnotatedRegion
struct  MonotonicityAnnotation
class  MonotonicityBackend
class  SparseDtmcParameterLiftingModelChecker
class  OrderBasedMonotonicityBackend
class  RegionModelChecker
class  PartitioningProgress
class  RegionRefinementChecker
struct  RegionSplittingStrategy
class  SparseMdpParameterLiftingModelChecker
class  SparseParameterLiftingModelChecker
 Class to approximately check a formula on a parametric model for all parameter valuations within a region It is assumed that all considered valuations are graph-preserving and well defined, i.e.,. More...
class  ValidatingSparseParameterLiftingModelChecker
class  RegionCheckResult
class  RegionRefinementCheckResult
class  CheckTask
class  AbstractModelChecker
class  Certificate
 A certificate for the result of a model checking query. More...
struct  LowerUpperValueCertificateComputerReturnType
class  LowerUpperValueCertificateComputer
struct  ProbabilityCertificateData
struct  RewardCertificateData
class  ReachabilityProbabilityCertificate
class  ReachabilityRewardCertificate
class  HybridCtmcCslModelChecker
class  HybridMarkovAutomatonCslModelChecker
class  SparseCtmcCslModelChecker
class  SparseMarkovAutomatonCslModelChecker
class  SparseExplorationModelChecker
class  ReachabilityProbabilityToRewardTransformer
class  ReachabilityRewardTransformer
struct  TotalRewardSpecification
 Specifies a total reward query: The goal is to compute (bounds on) the optimal total reward that is collected until a terminal state is reached. More...
class  ExplicitModelCheckerHint
 This class contains information that might accelerate the model checking process. More...
class  ModelCheckerHint
 This class contains information that might accelerate the model checking process. More...
class  HybridDtmcPrctlModelChecker
class  HybridMdpPrctlModelChecker
class  SparseDtmcPrctlModelChecker
class  SparseMdpPrctlModelChecker
class  SymbolicDtmcPrctlModelChecker
class  SparsePropositionalModelChecker
class  SymbolicPropositionalModelChecker
class  SparseDtmcEliminationModelChecker
class  ExplicitQualitativeCheckResult
 A qualitative check result over the states of a sparse model. More...
class  ExplicitQuantitativeCheckResult
 A quantitative check result over the states of a sparse model. More...
class  ExplicitParetoCurveCheckResult
class  ExplicitCertificateCheckResult
class  LexicographicCheckResult
class  SymbolicQualitativeCheckResult
class  HybridQuantitativeCheckResult
class  SymbolicParetoCurveCheckResult
class  CheckResult
class  ParetoCurveCheckResult
class  QualitativeCheckResult
struct  AggregatedValue
 The aggregate of the values of a quantitative check result, together with the aggregate of each bound the result carries. More...
class  SparseSmgRpatlModelChecker

Typedefs

template<typename ConstantType, bool Robust>
using SolverFactoryType
template<typename ConstantType, bool Robust>
using GeneralSolverFactoryType
template<typename ParametricType, typename ConstantType, bool Robust>
using ParameterLifterType
using RankingType = uint64_t

Enumerations

enum class  RegionCheckEngine { ParameterLifting , ExactParameterLifting , ValidatingParameterLifting , RobustParameterLifting }
 The considered engine for region checking. More...
enum class  RegionResult {
  Unknown , ExistsSat , ExistsViolated , ExistsIllDefined ,
  CenterSat , CenterViolated , CenterIllDefined , ExistsBoth ,
  AllSat , AllViolated , AllIllDefined
}
 The results for a single Parameter Region. More...
enum class  RegionResultHypothesis { Unknown , AllSat , AllViolated }
 hypothesis for the result for a single Parameter Region More...
enum class  RegionSplitEstimateKind { Distance , StateValueDelta , StateValueDeltaWeighted , Derivative }
enum class  CertificateKind { ReachabilityProbability , ReachabilityRewards }
enum class  CheckType { Probabilities , Rewards }
enum class  StateFilter { ARGMIN , ARGMAX }
enum class  FilterType {
  MIN , MAX , SUM , AVG ,
  COUNT , FORALL , EXISTS , ARGMIN ,
  ARGMAX , VALUES
}

Functions

std::ostream & operator<< (std::ostream &os, RegionCheckEngine const &e)
std::ostream & operator<< (std::ostream &os, RegionResult const &regionResult)
std::ostream & operator<< (std::ostream &os, RegionResultHypothesis const &regionResultHypothesis)
std::ostream & operator<< (std::ostream &os, RegionSplittingStrategy::Heuristic const &e)
template<typename ConstantType>
std::optional< storm::storage::Scheduler< ConstantType > > getSchedulerHelper (std::optional< std::vector< uint64_t > > const &choices)
bool supportsStateValueDeltaEstimates (storm::logic::Formula const &f)
bool supportsOrderBasedMonotonicity (storm::logic::Formula const &f)
template<typename RegionType>
auto getOptimalValuationForMonotonicity (RegionType const &region, std::map< typename RegionType::VariableType, storm::analysis::MonotonicityKind > const &monotonicityResult, storm::OptimizationDirection dir)
template<storm::OptimizationDirection Dir, typename ValueType, typename VectorValueType>
storm::storage::BitVector computeInductiveChoices (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, std::vector< VectorValueType > const &valueVector, storm::storage::BitVector const &relevantStates, storm::OptionalRef< std::vector< ValueType > const > rewardVector={})
template<typename ValueType, storm::OptimizationDirection Dir>
std::vector< RankingType > computeDistanceRanking (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &targetStates, storm::OptionalRef< storm::storage::BitVector const > constraintStates, std::optional< storm::storage::BitVector > const &choiceConstraint=std::nullopt)
template<typename ValueType, storm::OptimizationDirection Dir>
std::vector< RankingType > computeModifiedDistanceRanking (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::SparseMatrix< ValueType > const &backwardTransitions, storm::storage::BitVector const &probLess1States)
template<typename ValueType, bool Nondeterministic, storm::OptimizationDirection Dir = storm::OptimizationDirection::Minimize>
ProbabilityCertificateData< ValueType > computeReachabilityProbabilityCertificateData (storm::Environment const &env, storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, storm::OptionalRef< storm::storage::BitVector const > constraintStates)
template<typename ValueType>
ProbabilityCertificateData< ValueType > computeReachabilityProbabilityCertificateData (storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, storm::OptionalRef< storm::storage::BitVector const > constraintStates)
template<typename ValueType>
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::nullopt, std::string targetLabel="goal", std::optional< std::string > constraintLabel=std::nullopt)
 Computes a certificate for reachability probabilities (or constrained reachability probabilities if constraint states are given).
template<typename ValueType, bool Nondeterministic, storm::OptimizationDirection Dir = storm::OptimizationDirection::Minimize>
RewardCertificateData< ValueType > computeReachabilityRewardCertificateData (storm::Environment const &env, storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, std::vector< ValueType > const &stateActionRewardVector)
template<typename ValueType>
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="goal", std::string rewardModelName="")
 Computes a certificate for expected rewards accumulated until reaching the target states.
template std::unique_ptr< ReachabilityProbabilityCertificate< double > > computeReachabilityProbabilityCertificate< double > (storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< double > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::optional< storm::storage::BitVector > constraintStates, std::string targetLabel, std::optional< std::string > constraintLabel)
template std::unique_ptr< ReachabilityProbabilityCertificate< storm::RationalNumber > > computeReachabilityProbabilityCertificate< storm::RationalNumber > (storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< storm::RationalNumber > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::optional< storm::storage::BitVector > constraintStates, std::string targetLabel, std::optional< std::string > constraintLabel)
template std::unique_ptr< ReachabilityRewardCertificate< double > > computeReachabilityRewardCertificate< double > (storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< double > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::vector< double > stateActionRewardVector, std::string targetLabel, std::string rewardModelName)
template std::unique_ptr< ReachabilityRewardCertificate< storm::RationalNumber > > computeReachabilityRewardCertificate< storm::RationalNumber > (storm::Environment const &env, std::optional< storm::OptimizationDirection > dir, storm::storage::SparseMatrix< storm::RationalNumber > const &transitionProbabilityMatrix, storm::storage::BitVector targetStates, std::vector< storm::RationalNumber > stateActionRewardVector, std::string targetLabel, std::string rewardModelName)
template<typename ValueType, OptimizationDirection Dir>
bool checkUpperBoundCertificate (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, storm::OptionalRef< storm::storage::BitVector const > constraintStates, std::vector< ValueType > const &values)
template<typename ValueType, OptimizationDirection Dir>
bool checkLowerBoundCertificate (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, storm::OptionalRef< storm::storage::BitVector const > constraintStates, std::vector< ValueType > const &values, std::vector< RankingType > const &ranks)
template<typename ValueType, OptimizationDirection Dir>
bool checkUpperBoundCertificate (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, std::vector< ValueType > const &stateActionRewardVector, std::vector< storm::utility::ExtendedValueType< ValueType > > const &values, std::vector< RankingType > const &ranks)
template<typename ValueType, OptimizationDirection Dir>
bool checkLowerBoundCertificate (storm::storage::SparseMatrix< ValueType > const &transitionProbabilityMatrix, storm::storage::BitVector const &targetStates, std::vector< ValueType > const &stateActionRewardVector, std::vector< storm::utility::ExtendedValueType< ValueType > > const &values, std::vector< RankingType > const &ranks)
template<typename ValueType, bool Lower>
std::vector< ValueType > computeLowerOrUpperBoundsTotalReward (storm::storage::SparseMatrix< ValueType > const &matrix, std::vector< ValueType > const &offsets, storm::storage::BitVector const &exitRows, std::vector< ValueType > const &exitProbabilities, std::optional< storm::OptimizationDirection > dir={})
 Computes for each state a lower (if Lower is true) or an upper (otherwise) bound on the optimal total reward that is collected in the given subsystem.
template std::vector< double > computeLowerOrUpperBoundsTotalReward< double, true > (storm::storage::SparseMatrix< double > const &, std::vector< double > const &, storm::storage::BitVector const &, std::vector< double > const &, std::optional< storm::OptimizationDirection >)
template std::vector< double > computeLowerOrUpperBoundsTotalReward< double, false > (storm::storage::SparseMatrix< double > const &, std::vector< double > const &, storm::storage::BitVector const &, std::vector< double > const &, std::optional< storm::OptimizationDirection >)
template std::vector< storm::RationalNumber > computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, true > (storm::storage::SparseMatrix< storm::RationalNumber > const &, std::vector< storm::RationalNumber > const &, storm::storage::BitVector const &, std::vector< storm::RationalNumber > const &, std::optional< storm::OptimizationDirection >)
template std::vector< storm::RationalNumber > computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, false > (storm::storage::SparseMatrix< storm::RationalNumber > const &, std::vector< storm::RationalNumber > const &, storm::storage::BitVector const &, std::vector< storm::RationalNumber > const &, std::optional< storm::OptimizationDirection >)
template<typename ValueType, typename SolutionType>
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)
template std::unique_ptr< CheckResult > computeConditionalProbabilities (Environment const &env, storm::solver::SolveGoal< double > &&goal, bool produceSchedulers, storm::storage::SparseMatrix< double > const &transitionMatrix, storm::storage::SparseMatrix< double > const &backwardTransitions, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &conditionStates)
template std::unique_ptr< CheckResult > computeConditionalProbabilities (Environment const &env, storm::solver::SolveGoal< storm::RationalNumber > &&goal, bool produceSchedulers, storm::storage::SparseMatrix< storm::RationalNumber > const &transitionMatrix, storm::storage::SparseMatrix< storm::RationalNumber > const &backwardTransitions, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &conditionStates)
std::ostream & operator<< (std::ostream &out, CheckResult const &checkResult)
template<typename JsonRationalType>
void insertJsonEntry (storm::json< JsonRationalType > &json, uint64_t const &id, bool value, std::optional< storm::storage::sparse::Valuations > const &stateValuations=std::nullopt, std::optional< storm::models::sparse::StateLabeling > const &stateLabels=std::nullopt)
template<typename ValueType>
void printExact (std::ostream &out, ValueType const &value)
template<typename ValueType>
void printApproximation (std::ostream &out, ValueType const &value)
template<typename ValueType>
void print (std::ostream &out, ValueType const &value)
template<typename ValueType>
void printInterval (std::ostream &out, std::optional< ValueType > const &lower, std::optional< ValueType > const &upper)
 Writes the given interval, an unknown end of it as "?".
template<typename ValueType>
void printRange (std::ostream &out, ValueType const &min, ValueType const &max)
template<typename ValueType>
void printBounds (std::ostream &out, std::optional< ValueType > const &lower, std::optional< ValueType > const &upper)
 Writes the given bounds on the solution, and nothing at all if neither side is known.
template<typename ValueType>
void insertJsonValue (storm::json< ValueType > &entry, std::string const &key, storm::utility::ExtendedValueType< ValueType > const &value)
 Writes the given value under the given key, spelling out an infinity that the plain value type cannot represent.
template<typename ValueType>
void insertJsonEntry (storm::json< ValueType > &json, uint64_t const &id, storm::utility::ExtendedValueType< ValueType > const &value, std::optional< storm::storage::sparse::Valuations > const &stateValuations=std::nullopt, std::optional< storm::models::sparse::StateLabeling > const &stateLabels=std::nullopt, std::optional< storm::utility::ExtendedValueType< ValueType > > const &lowerBound=std::nullopt, std::optional< storm::utility::ExtendedValueType< ValueType > > const &upperBound=std::nullopt)
std::string toString (FilterType ft)
std::string toPrismSyntax (FilterType ft)

Variables

template<typename ValueType>
constexpr bool SupportsCertificates = std::is_same_v<ValueType, double> || std::is_same_v<ValueType, storm::RationalNumber>
 Certificates can be computed for models with these value types.
static RankingType const InfRank = std::numeric_limits<RankingType>::max()
template<typename ValueType>
constexpr bool printsApproximation = std::is_same_v<ValueType, storm::RationalNumber> || std::is_same_v<ValueType, storm::ExtendedRationalNumber>

Typedef Documentation

◆ GeneralSolverFactoryType

template<typename ConstantType, bool Robust>
using storm::modelchecker::GeneralSolverFactoryType
Initial value:
std::conditional_t<Robust, storm::solver::GeneralMinMaxLinearEquationSolverFactory<storm::Interval, ConstantType>,

Definition at line 28 of file SparseDtmcParameterLiftingModelChecker.h.

◆ ParameterLifterType

template<typename ParametricType, typename ConstantType, bool Robust>
using storm::modelchecker::ParameterLifterType
Initial value:
std::conditional_t<Robust, storm::transformer::RobustParameterLifter<ParametricType, ConstantType>,
This class lifts parameter choices to nondeterminism: For each row in the given matrix that considerd...

Definition at line 32 of file SparseDtmcParameterLiftingModelChecker.h.

◆ RankingType

Definition at line 7 of file RankingType.h.

◆ SolverFactoryType

template<typename ConstantType, bool Robust>
using storm::modelchecker::SolverFactoryType
Initial value:
std::conditional_t<Robust, storm::solver::MinMaxLinearEquationSolverFactory<storm::Interval, ConstantType>,

Definition at line 24 of file SparseDtmcParameterLiftingModelChecker.h.

Enumeration Type Documentation

◆ CertificateKind

Enumerator
ReachabilityProbability 
ReachabilityRewards 

Definition at line 5 of file CertificateKind.h.

◆ CheckType

enum class storm::modelchecker::CheckType
strong
Enumerator
Probabilities 
Rewards 

Definition at line 24 of file CheckTask.h.

◆ FilterType

Enumerator
MIN 
MAX 
SUM 
AVG 
COUNT 
FORALL 
EXISTS 
ARGMIN 
ARGMAX 
VALUES 

Definition at line 11 of file FilterType.h.

◆ RegionCheckEngine

The considered engine for region checking.

Enumerator
ParameterLifting 

Parameter lifting approach.

ExactParameterLifting 

Parameter lifting approach with exact arithmethics.

ValidatingParameterLifting 

Parameter lifting approach with a) inexact (and fast) computation first and b) exact validation of obtained results second.

RobustParameterLifting 

Parameter lifting approach based on robust markov models instead of generating nondeterminism.

Definition at line 10 of file RegionCheckEngine.h.

◆ RegionResult

The results for a single Parameter Region.

Enumerator
Unknown 

the result is unknown

ExistsSat 

the formula is satisfied for at least one parameter evaluation that lies in the given region

ExistsViolated 

the formula is violated for at least one parameter evaluation that lies in the given region

ExistsIllDefined 

the formula is ill-defined for at least one parameter evaluation that lies in the given region

CenterSat 

the formula is satisfied for the parameter Valuation that corresponds to the center point of the region

CenterViolated 

the formula is violated for the parameter Valuation that corresponds to the center point of the region

CenterIllDefined 

the formula is ill-defined for the parameter Valuation that corresponds to the center point of the region

ExistsBoth 

the formula is satisfied for some parameters but also violated for others

AllSat 

the formula is satisfied for all well-defined parameters in the given region

AllViolated 

the formula is violated for all well-defined parameters in the given region

AllIllDefined 

the formula is ill-defined for all parameters in the given region

Definition at line 10 of file RegionResult.h.

◆ RegionResultHypothesis

hypothesis for the result for a single Parameter Region

Enumerator
Unknown 
AllSat 
AllViolated 

Definition at line 10 of file RegionResultHypothesis.h.

◆ RegionSplitEstimateKind

Enumerator
Distance 
StateValueDelta 
StateValueDeltaWeighted 
Derivative 

Definition at line 4 of file RegionSplitEstimateKind.h.

◆ StateFilter

Enumerator
ARGMIN 
ARGMAX 

Definition at line 7 of file FilterType.h.

Function Documentation

◆ checkLowerBoundCertificate() [1/2]

template<typename ValueType, OptimizationDirection Dir>
bool storm::modelchecker::checkLowerBoundCertificate ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
std::vector< ValueType > const & stateActionRewardVector,
std::vector< storm::utility::ExtendedValueType< ValueType > > const & values,
std::vector< RankingType > const & ranks )

Definition at line 126 of file ReachabilityRewardCertificate.cpp.

◆ checkLowerBoundCertificate() [2/2]

template<typename ValueType, OptimizationDirection Dir>
bool storm::modelchecker::checkLowerBoundCertificate ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
storm::OptionalRef< storm::storage::BitVector const > constraintStates,
std::vector< ValueType > const & values,
std::vector< RankingType > const & ranks )

Definition at line 100 of file ReachabilityProbabilityCertificate.cpp.

◆ checkUpperBoundCertificate() [1/2]

template<typename ValueType, OptimizationDirection Dir>
bool storm::modelchecker::checkUpperBoundCertificate ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
std::vector< ValueType > const & stateActionRewardVector,
std::vector< storm::utility::ExtendedValueType< ValueType > > const & values,
std::vector< RankingType > const & ranks )

Definition at line 56 of file ReachabilityRewardCertificate.cpp.

◆ checkUpperBoundCertificate() [2/2]

template<typename ValueType, OptimizationDirection Dir>
bool storm::modelchecker::checkUpperBoundCertificate ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
storm::OptionalRef< storm::storage::BitVector const > constraintStates,
std::vector< ValueType > const & values )

Definition at line 62 of file ReachabilityProbabilityCertificate.cpp.

◆ computeConditionalProbabilities() [1/3]

template std::unique_ptr< CheckResult > storm::modelchecker::computeConditionalProbabilities ( Environment const & env,
storm::solver::SolveGoal< double > && goal,
bool produceSchedulers,
storm::storage::SparseMatrix< double > const & transitionMatrix,
storm::storage::SparseMatrix< double > const & backwardTransitions,
storm::storage::BitVector const & targetStates,
storm::storage::BitVector const & conditionStates )

◆ computeConditionalProbabilities() [2/3]

template std::unique_ptr< CheckResult > storm::modelchecker::computeConditionalProbabilities ( Environment const & env,
storm::solver::SolveGoal< storm::RationalNumber > && goal,
bool produceSchedulers,
storm::storage::SparseMatrix< storm::RationalNumber > const & transitionMatrix,
storm::storage::SparseMatrix< storm::RationalNumber > const & backwardTransitions,
storm::storage::BitVector const & targetStates,
storm::storage::BitVector const & conditionStates )

◆ computeConditionalProbabilities() [3/3]

template<typename ValueType, typename SolutionType>
std::unique_ptr< CheckResult > storm::modelchecker::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 )

Definition at line 1274 of file ConditionalHelper.cpp.

◆ computeDistanceRanking()

template<typename ValueType, storm::OptimizationDirection Dir>
std::vector< RankingType > storm::modelchecker::computeDistanceRanking ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::SparseMatrix< ValueType > const & backwardTransitions,
storm::storage::BitVector const & targetStates,
storm::OptionalRef< storm::storage::BitVector const > constraintStates,
std::optional< storm::storage::BitVector > const & choiceConstraint = std::nullopt )

Definition at line 632 of file ReachabilityCertificateComputer.cpp.

◆ computeInductiveChoices()

template<storm::OptimizationDirection Dir, typename ValueType, typename VectorValueType>
storm::storage::BitVector storm::modelchecker::computeInductiveChoices ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
std::vector< VectorValueType > const & valueVector,
storm::storage::BitVector const & relevantStates,
storm::OptionalRef< std::vector< ValueType > const > rewardVector = {} )

Definition at line 608 of file ReachabilityCertificateComputer.cpp.

◆ computeLowerOrUpperBoundsTotalReward()

template<typename ValueType, bool Lower>
std::vector< ValueType > storm::modelchecker::computeLowerOrUpperBoundsTotalReward ( storm::storage::SparseMatrix< ValueType > const & matrix,
std::vector< ValueType > const & offsets,
storm::storage::BitVector const & exitRows,
std::vector< ValueType > const & exitProbabilities,
std::optional< storm::OptimizationDirection > dir = {} )

Computes for each state a lower (if Lower is true) or an upper (otherwise) bound on the optimal total reward that is collected in the given subsystem.

Parameters
matrixthe transitions of the subsystem
offsetsthe reward collected for each row (including the value obtained when leaving the subsystem)
exitRowsthose rows that might leave the subsystem
exitProbabilitiesfor each row, the probability to leave the subsystem
dirthe optimization direction. Must be given for nondeterministic matrices.

Definition at line 19 of file LowerUpperBoundsComputer.cpp.

◆ computeLowerOrUpperBoundsTotalReward< double, false >()

template std::vector< double > storm::modelchecker::computeLowerOrUpperBoundsTotalReward< double, false > ( storm::storage::SparseMatrix< double > const & ,
std::vector< double > const & ,
storm::storage::BitVector const & ,
std::vector< double > const & ,
std::optional< storm::OptimizationDirection >  )

◆ computeLowerOrUpperBoundsTotalReward< double, true >()

template std::vector< double > storm::modelchecker::computeLowerOrUpperBoundsTotalReward< double, true > ( storm::storage::SparseMatrix< double > const & ,
std::vector< double > const & ,
storm::storage::BitVector const & ,
std::vector< double > const & ,
std::optional< storm::OptimizationDirection >  )

◆ computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, false >()

template std::vector< storm::RationalNumber > storm::modelchecker::computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, false > ( storm::storage::SparseMatrix< storm::RationalNumber > const & ,
std::vector< storm::RationalNumber > const & ,
storm::storage::BitVector const & ,
std::vector< storm::RationalNumber > const & ,
std::optional< storm::OptimizationDirection >  )

◆ computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, true >()

template std::vector< storm::RationalNumber > storm::modelchecker::computeLowerOrUpperBoundsTotalReward< storm::RationalNumber, true > ( storm::storage::SparseMatrix< storm::RationalNumber > const & ,
std::vector< storm::RationalNumber > const & ,
storm::storage::BitVector const & ,
std::vector< storm::RationalNumber > const & ,
std::optional< storm::OptimizationDirection >  )

◆ computeModifiedDistanceRanking()

template<typename ValueType, storm::OptimizationDirection Dir>
std::vector< RankingType > storm::modelchecker::computeModifiedDistanceRanking ( storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::SparseMatrix< ValueType > const & backwardTransitions,
storm::storage::BitVector const & probLess1States )

Definition at line 683 of file ReachabilityCertificateComputer.cpp.

◆ computeReachabilityProbabilityCertificate()

template<typename ValueType>
std::unique_ptr< ReachabilityProbabilityCertificate< ValueType > > storm::modelchecker::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::nullopt,
std::string targetLabel = "goal",
std::optional< std::string > constraintLabel = std::nullopt )

Computes a certificate for reachability probabilities (or constrained reachability probabilities if constraint states are given).

The algorithm used for the computation is selected in the certificate environment of the given environment. Note that the computed certificate is not guaranteed to be valid: The algorithms trade speed for correctness (e.g. due to floating point errors or conversions between value types). Use Certificate::checkValidity to detect invalid certificates.

Parameters
dirthe optimization direction. Should be empty if the model is deterministic.
See also
https://doi.org/10.1007/978-3-031-90653-4_7

Definition at line 784 of file ReachabilityCertificateComputer.cpp.

◆ computeReachabilityProbabilityCertificate< double >()

template std::unique_ptr< ReachabilityProbabilityCertificate< double > > storm::modelchecker::computeReachabilityProbabilityCertificate< double > ( storm::Environment const & env,
std::optional< storm::OptimizationDirection > dir,
storm::storage::SparseMatrix< double > const & transitionProbabilityMatrix,
storm::storage::BitVector targetStates,
std::optional< storm::storage::BitVector > constraintStates,
std::string targetLabel,
std::optional< std::string > constraintLabel )

◆ computeReachabilityProbabilityCertificate< storm::RationalNumber >()

template std::unique_ptr< ReachabilityProbabilityCertificate< storm::RationalNumber > > storm::modelchecker::computeReachabilityProbabilityCertificate< storm::RationalNumber > ( storm::Environment const & env,
std::optional< storm::OptimizationDirection > dir,
storm::storage::SparseMatrix< storm::RationalNumber > const & transitionProbabilityMatrix,
storm::storage::BitVector targetStates,
std::optional< storm::storage::BitVector > constraintStates,
std::string targetLabel,
std::optional< std::string > constraintLabel )

◆ computeReachabilityProbabilityCertificateData() [1/2]

template<typename ValueType>
ProbabilityCertificateData< ValueType > storm::modelchecker::computeReachabilityProbabilityCertificateData ( storm::Environment const & env,
std::optional< storm::OptimizationDirection > dir,
storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
storm::OptionalRef< storm::storage::BitVector const > constraintStates )

Definition at line 763 of file ReachabilityCertificateComputer.cpp.

◆ computeReachabilityProbabilityCertificateData() [2/2]

template<typename ValueType, bool Nondeterministic, storm::OptimizationDirection Dir = storm::OptimizationDirection::Minimize>
ProbabilityCertificateData< ValueType > storm::modelchecker::computeReachabilityProbabilityCertificateData ( storm::Environment const & env,
storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
storm::OptionalRef< storm::storage::BitVector const > constraintStates )

Definition at line 734 of file ReachabilityCertificateComputer.cpp.

◆ computeReachabilityRewardCertificate()

template<typename ValueType>
std::unique_ptr< ReachabilityRewardCertificate< ValueType > > storm::modelchecker::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 = "goal",
std::string rewardModelName = "" )

Computes a certificate for expected rewards accumulated until reaching the target states.

The algorithm used for the computation is selected in the certificate environment of the given environment. Note that the computed certificate is not guaranteed to be valid: The algorithms trade speed for correctness (e.g. due to floating point errors or conversions between value types). Use Certificate::checkValidity to detect invalid certificates.

Parameters
dirthe optimization direction. Should be empty if the model is deterministic.
stateActionRewardVectorthe reward for each choice
See also
https://doi.org/10.1007/978-3-031-90653-4_7

Definition at line 855 of file ReachabilityCertificateComputer.cpp.

◆ computeReachabilityRewardCertificate< double >()

template std::unique_ptr< ReachabilityRewardCertificate< double > > storm::modelchecker::computeReachabilityRewardCertificate< double > ( storm::Environment const & env,
std::optional< storm::OptimizationDirection > dir,
storm::storage::SparseMatrix< double > const & transitionProbabilityMatrix,
storm::storage::BitVector targetStates,
std::vector< double > stateActionRewardVector,
std::string targetLabel,
std::string rewardModelName )

◆ computeReachabilityRewardCertificate< storm::RationalNumber >()

template std::unique_ptr< ReachabilityRewardCertificate< storm::RationalNumber > > storm::modelchecker::computeReachabilityRewardCertificate< storm::RationalNumber > ( storm::Environment const & env,
std::optional< storm::OptimizationDirection > dir,
storm::storage::SparseMatrix< storm::RationalNumber > const & transitionProbabilityMatrix,
storm::storage::BitVector targetStates,
std::vector< storm::RationalNumber > stateActionRewardVector,
std::string targetLabel,
std::string rewardModelName )

◆ computeReachabilityRewardCertificateData()

template<typename ValueType, bool Nondeterministic, storm::OptimizationDirection Dir = storm::OptimizationDirection::Minimize>
RewardCertificateData< ValueType > storm::modelchecker::computeReachabilityRewardCertificateData ( storm::Environment const & env,
storm::storage::SparseMatrix< ValueType > const & transitionProbabilityMatrix,
storm::storage::BitVector const & targetStates,
std::vector< ValueType > const & stateActionRewardVector )

Definition at line 810 of file ReachabilityCertificateComputer.cpp.

◆ getOptimalValuationForMonotonicity()

template<typename RegionType>
auto storm::modelchecker::getOptimalValuationForMonotonicity ( RegionType const & region,
std::map< typename RegionType::VariableType, storm::analysis::MonotonicityKind > const & monotonicityResult,
storm::OptimizationDirection dir )

Definition at line 67 of file SparseParameterLiftingModelChecker.cpp.

◆ getSchedulerHelper()

template<typename ConstantType>
std::optional< storm::storage::Scheduler< ConstantType > > storm::modelchecker::getSchedulerHelper ( std::optional< std::vector< uint64_t > > const & choices)

Definition at line 816 of file SparseDtmcParameterLiftingModelChecker.cpp.

◆ insertJsonEntry() [1/2]

template<typename JsonRationalType>
void storm::modelchecker::insertJsonEntry ( storm::json< JsonRationalType > & json,
uint64_t const & id,
bool value,
std::optional< storm::storage::sparse::Valuations > const & stateValuations = std::nullopt,
std::optional< storm::models::sparse::StateLabeling > const & stateLabels = std::nullopt )

Definition at line 195 of file ExplicitQualitativeCheckResult.cpp.

◆ insertJsonEntry() [2/2]

template<typename ValueType>
void storm::modelchecker::insertJsonEntry ( storm::json< ValueType > & json,
uint64_t const & id,
storm::utility::ExtendedValueType< ValueType > const & value,
std::optional< storm::storage::sparse::Valuations > const & stateValuations = std::nullopt,
std::optional< storm::models::sparse::StateLabeling > const & stateLabels = std::nullopt,
std::optional< storm::utility::ExtendedValueType< ValueType > > const & lowerBound = std::nullopt,
std::optional< storm::utility::ExtendedValueType< ValueType > > const & upperBound = std::nullopt )

Definition at line 574 of file ExplicitQuantitativeCheckResult.cpp.

◆ insertJsonValue()

template<typename ValueType>
void storm::modelchecker::insertJsonValue ( storm::json< ValueType > & entry,
std::string const & key,
storm::utility::ExtendedValueType< ValueType > const & value )

Writes the given value under the given key, spelling out an infinity that the plain value type cannot represent.

Definition at line 559 of file ExplicitQuantitativeCheckResult.cpp.

◆ operator<<() [1/5]

std::ostream & storm::modelchecker::operator<< ( std::ostream & os,
RegionCheckEngine const & e )

Definition at line 8 of file RegionCheckEngine.cpp.

◆ operator<<() [2/5]

std::ostream & storm::modelchecker::operator<< ( std::ostream & os,
RegionResult const & regionResult )

Definition at line 8 of file RegionResult.cpp.

◆ operator<<() [3/5]

std::ostream & storm::modelchecker::operator<< ( std::ostream & os,
RegionResultHypothesis const & regionResultHypothesis )

Definition at line 8 of file RegionResultHypothesis.cpp.

◆ operator<<() [4/5]

std::ostream & storm::modelchecker::operator<< ( std::ostream & os,
RegionSplittingStrategy::Heuristic const & e )

Definition at line 8 of file RegionSplittingStrategy.cpp.

◆ operator<<() [5/5]

std::ostream & storm::modelchecker::operator<< ( std::ostream & out,
CheckResult const & checkResult )

Definition at line 50 of file CheckResult.cpp.

◆ print()

template<typename ValueType>
void storm::modelchecker::print ( std::ostream & out,
ValueType const & value )

Definition at line 366 of file ExplicitQuantitativeCheckResult.cpp.

◆ printApproximation()

template<typename ValueType>
void storm::modelchecker::printApproximation ( std::ostream & out,
ValueType const & value )

Definition at line 357 of file ExplicitQuantitativeCheckResult.cpp.

◆ printBounds()

template<typename ValueType>
void storm::modelchecker::printBounds ( std::ostream & out,
std::optional< ValueType > const & lower,
std::optional< ValueType > const & upper )

Writes the given bounds on the solution, and nothing at all if neither side is known.

Definition at line 415 of file ExplicitQuantitativeCheckResult.cpp.

◆ printExact()

template<typename ValueType>
void storm::modelchecker::printExact ( std::ostream & out,
ValueType const & value )

Definition at line 348 of file ExplicitQuantitativeCheckResult.cpp.

◆ printInterval()

template<typename ValueType>
void storm::modelchecker::printInterval ( std::ostream & out,
std::optional< ValueType > const & lower,
std::optional< ValueType > const & upper )

Writes the given interval, an unknown end of it as "?".

Definition at line 381 of file ExplicitQuantitativeCheckResult.cpp.

◆ printRange()

template<typename ValueType>
void storm::modelchecker::printRange ( std::ostream & out,
ValueType const & min,
ValueType const & max )

Definition at line 406 of file ExplicitQuantitativeCheckResult.cpp.

◆ supportsOrderBasedMonotonicity()

bool storm::modelchecker::supportsOrderBasedMonotonicity ( storm::logic::Formula const & f)

Definition at line 847 of file SparseDtmcParameterLiftingModelChecker.cpp.

◆ supportsStateValueDeltaEstimates()

bool storm::modelchecker::supportsStateValueDeltaEstimates ( storm::logic::Formula const & f)

Definition at line 839 of file SparseDtmcParameterLiftingModelChecker.cpp.

◆ toPrismSyntax()

std::string storm::modelchecker::toPrismSyntax ( FilterType ft)

Definition at line 35 of file FilterType.cpp.

◆ toString()

std::string storm::modelchecker::toString ( FilterType ft)

Definition at line 9 of file FilterType.cpp.

Variable Documentation

◆ InfRank

RankingType const storm::modelchecker::InfRank = std::numeric_limits<RankingType>::max()
static

Definition at line 8 of file RankingType.h.

◆ printsApproximation

template<typename ValueType>
bool storm::modelchecker::printsApproximation = std::is_same_v<ValueType, storm::RationalNumber> || std::is_same_v<ValueType, storm::ExtendedRationalNumber>
constexpr

Definition at line 345 of file ExplicitQuantitativeCheckResult.cpp.

◆ SupportsCertificates

template<typename ValueType>
bool storm::modelchecker::SupportsCertificates = std::is_same_v<ValueType, double> || std::is_same_v<ValueType, storm::RationalNumber>
inlineconstexpr

Certificates can be computed for models with these value types.

Definition at line 27 of file Certificate.h.