Stormpy 1.9.0
  • Storm
  • Github
  • Stormpy

      Contents:

      • Installation
        • Requirements
        • Installation Steps
      • Getting Started
        • A Quick Tour through Stormpy
      • Advanced Examples
        • Analysis
        • Building Models
        • Discrete-time Markov chains (DTMCs)
        • Markov decision processes (MDPs)
        • Continuous-time Markov chains (CTMCs)
        • Markov automata (MAs)
        • Engines
        • Exploring Models
        • Working with Simulators
        • Reward Models
        • Working with Schedulers
        • Working with Shortest Paths
        • Parametric Models
        • Dynamic Fault Trees
        • Generalized Stochastic Petri Nets
      • Contributors

      Modules:

      • Stormpy.core
        • ActionMaskDouble
        • AddIterator_Sylvan_Double
        • Add_Sylvan_Double
        • AtomicExpressionFormula
        • AtomicLabelFormula
        • Bdd_Sylvan
        • BinaryBooleanOperatorType
        • BinaryPathFormula
        • BinaryStateFormula
        • BisimulationType
        • BitVector
        • BooleanBinaryStateFormula
        • BooleanLiteralFormula
        • BoundedUntilFormula
        • BuilderOptions
        • CheckTask
        • ChoiceLabeling
        • ChoiceOrigins
        • ComparisonType
        • ConditionalFormula
        • ConstraintCollector
        • CumulativeRewardFormula
        • DdManager_Sylvan
        • DdMetaVariableType
        • DdMetaVariable_Sylvan
        • Dd_Sylvan
        • DiceStringVisitor
        • DirectEncodingOptions
        • DirectEncodingParserOptions
        • Distribution
        • DistributionExact
        • DistributionInterval
        • EliminationLabelBehavior
        • EndComponentEliminatorReturnTypeDouble
        • Environment
        • EquationSolverType
        • EventuallyFormula
        • ExactCheckTask
        • ExactSparseMatrix
        • ExactSparseMatrixBuilder
        • ExactSparseMatrixEntry
        • ExactSparseMatrixRows
        • ExplicitExactQuantitativeCheckResult
        • ExplicitModelBuilder
        • ExplicitModelCheckerHintDouble
        • ExplicitParametricModelBuilder
        • ExplicitParametricQuantitativeCheckResult
        • ExplicitParetoCurveCheckResultDouble
        • ExplicitQualitativeCheckResult
        • ExplicitQuantitativeCheckResult
        • ExplicitStateLookup
        • Expression
        • ExpressionManager
        • ExpressionParser
        • ExpressionType
        • FactorizedPolynomial
        • FactorizedRationalFunction
        • FlatSet
        • Formula
        • GameFormula
        • GloballyFormula
        • HybridExactQuantitativeCheckResult
        • HybridParametricQuantitativeCheckResult
        • HybridQuantitativeCheckResult
        • InstantaneousRewardFormula
        • IntervalSparseMatrix
        • IntervalSparseMatrixBuilder
        • IntervalSparseMatrixEntry
        • IntervalSparseMatrixRows
        • ItemLabeling
        • JaniAssignment
        • JaniAutomaton
        • JaniChoiceOrigins
        • JaniConstant
        • JaniEdge
        • JaniEdgeDestination
        • JaniInformationObject
        • JaniLocation
        • JaniLocationExpander
        • JaniModel
        • JaniModelType
        • JaniOrderedAssignments
        • JaniScopeChanger
        • JaniTemplateEdge
        • JaniTemplateEdgeDestination
        • JaniVariable
        • JaniVariableSet
        • LongRunAvarageOperator
        • LongRunAverageRewardFormula
        • MaximalEndComponent
        • MaximalEndComponentDecomposition_double
        • MaximalEndComponentDecomposition_exact
        • MaximalEndComponentDecomposition_interval
        • MaximalEndComponentDecomposition_ratfunc
        • MinMaxMethod
        • MinMaxSolverEnvironment
        • ModelCheckerHint
        • ModelFormulasPair
        • ModelType
        • MultiObjectiveFormula
        • NativeLinearEquationSolverMethod
        • NativeSolverEnvironment
        • OperatorFormula
        • OperatorType
        • OptimizationDirection
        • OverlappingGuardAnalyser
        • ParametricCheckTask
        • ParametricSparseMatrix
        • ParametricSparseMatrixBuilder
        • ParametricSparseMatrixEntry
        • ParametricSparseMatrixRows
        • ParetoCurveCheckResultDouble
        • PathFormula
        • Polynomial
        • PolytopeDouble
        • PolytopeExact
        • PrismAssignment
        • PrismBooleanVariable
        • PrismChoiceOrigins
        • PrismCommand
        • PrismConstant
        • PrismIntegerVariable
        • PrismLabel
        • PrismModelType
        • PrismModule
        • PrismProgram
        • PrismRewardModel
        • PrismUpdate
        • PrismVariable
        • ProbabilityOperator
        • Property
        • QuotientFormat
        • Rational
        • RationalFunction
        • RationalRF
        • RewardOperator
        • SMTCounterExampleGenerator
        • SMTCounterExampleGeneratorOptions
        • SMTCounterExampleGeneratorStats
        • SMTCounterExampleInput
        • Scheduler
        • SchedulerChoice
        • SchedulerChoiceExact
        • SchedulerChoiceInterval
        • SchedulerChoiceParametric
        • SchedulerExact
        • SchedulerInterval
        • SchedulerParametric
        • SimpleValuation
        • SolverEnvironment
        • SparseCtmc
        • SparseDtmc
        • SparseExactCtmc
        • SparseExactDtmc
        • SparseExactMA
        • SparseExactMdp
        • SparseExactModelAction
        • SparseExactModelActions
        • SparseExactModelComponents
        • SparseExactModelState
        • SparseExactModelStates
        • SparseExactPomdp
        • SparseExactRewardModel
        • SparseExactSmg
        • SparseIntervalCtmc
        • SparseIntervalDtmc
        • SparseIntervalMA
        • SparseIntervalMdp
        • SparseIntervalModelAction
        • SparseIntervalModelActions
        • SparseIntervalModelComponents
        • SparseIntervalModelState
        • SparseIntervalModelStates
        • SparseIntervalPomdp
        • SparseIntervalRewardModel
        • SparseIntervalSmg
        • SparseMA
        • SparseMatrix
        • SparseMatrixBuilder
        • SparseMatrixEntry
        • SparseMatrixRows
        • SparseMdp
        • SparseModelAction
        • SparseModelActions
        • SparseModelComponents
        • SparseModelState
        • SparseModelStates
        • SparseParametricCtmc
        • SparseParametricDtmc
        • SparseParametricMA
        • SparseParametricMdp
        • SparseParametricModelAction
        • SparseParametricModelActions
        • SparseParametricModelComponents
        • SparseParametricModelState
        • SparseParametricModelStates
        • SparseParametricPomdp
        • SparseParametricRewardModel
        • SparsePomdp
        • SparseRewardModel
        • SparseSmg
        • StateFormula
        • StateLabeling
        • StateValuation
        • StateValuationFunctionActionMaskDouble
        • StateValuationsBuilder
        • StormError
        • SubsystemBuilderOptions
        • SubsystemBuilderReturnTypeDouble
        • SubsystemBuilderReturnTypeExact
        • SubsystemBuilderReturnTypeRatFunc
        • SymbolicExactQuantitativeCheckResult
        • SymbolicModelDescription
        • SymbolicParametricQuantitativeCheckResult
        • SymbolicQualitativeCheckResult
        • SymbolicQuantitativeCheckResult
        • SymbolicSylvanCtmc
        • SymbolicSylvanDtmc
        • SymbolicSylvanMA
        • SymbolicSylvanMdp
        • SymbolicSylvanParametricCtmc
        • SymbolicSylvanParametricDtmc
        • SymbolicSylvanParametricMA
        • SymbolicSylvanParametricMdp
        • SymbolicSylvanParametricRewardModel
        • SymbolicSylvanRewardModel
        • TimeOperator
        • UnaryBooleanStateFormula
        • UnaryPathFormula
        • UnaryStateFormula
        • UntilFormula
        • Valuation
        • Variable
        • build_interval_model_from_drn()
        • build_model()
        • build_model_from_drn()
        • build_parametric_model()
        • build_parametric_model_from_drn()
        • build_parametric_sparse_matrix()
        • build_sparse_exact_model_with_options()
        • build_sparse_matrix()
        • build_sparse_model()
        • build_sparse_model_from_explicit()
        • build_sparse_model_with_options()
        • build_sparse_parametric_model()
        • build_sparse_parametric_model_with_options()
        • build_symbolic_model()
        • build_symbolic_parametric_model()
        • check_interval_mdp()
        • check_model_dd()
        • check_model_hybrid()
        • check_model_sparse()
        • collect_information()
        • compute_all_until_probabilities()
        • compute_expected_number_of_visits()
        • compute_prob01_states()
        • compute_prob01max_states()
        • compute_prob01min_states()
        • compute_steady_state_distribution()
        • compute_transient_probabilities()
        • construct_submodel()
        • create_filter_initial_states_sparse()
        • create_filter_initial_states_symbolic()
        • create_filter_symbolic()
        • eliminate_ECs()
        • eliminate_non_markovian_chains()
        • eliminate_reward_accumulations()
        • export_to_drn()
        • get_maximal_end_components()
        • get_reachable_states()
        • install_signal_handlers()
        • make_sparse_model_builder()
        • make_sparse_model_builder_exact()
        • make_sparse_model_builder_parametric()
        • model_checking()
        • parse_constants_string()
        • parse_jani_model()
        • parse_jani_model_from_string()
        • parse_prism_program()
        • parse_properties()
        • parse_properties_for_jani_model()
        • parse_properties_for_prism_program()
        • parse_properties_without_context()
        • perform_bisimulation()
        • perform_sparse_bisimulation()
        • perform_symbolic_bisimulation()
        • preprocess_symbolic_input()
        • prob01max_states()
        • prob01min_states()
        • reset_timeout()
        • set_loglevel_debug()
        • set_loglevel_error()
        • set_loglevel_trace()
        • set_settings()
        • set_timeout()
        • topological_sort()
        • transform_to_discrete_time_model()
        • transform_to_sparse_model()
      • Stormpy.info
        • Version
        • storm_exact_use_cln()
        • storm_ratfunc_use_cln()
        • storm_version()
      • Stormpy.exceptions
        • StormError
      • Stormpy.logic
        • AtomicExpressionFormula
        • AtomicLabelFormula
        • BinaryBooleanOperatorType
        • BinaryPathFormula
        • BinaryStateFormula
        • BooleanBinaryStateFormula
        • BooleanLiteralFormula
        • BoundedUntilFormula
        • ComparisonType
        • ConditionalFormula
        • CumulativeRewardFormula
        • EventuallyFormula
        • Formula
        • GameFormula
        • GloballyFormula
        • InstantaneousRewardFormula
        • LongRunAvarageOperator
        • LongRunAverageRewardFormula
        • MultiObjectiveFormula
        • OperatorFormula
        • PathFormula
        • ProbabilityOperator
        • RewardOperator
        • StateFormula
        • TimeOperator
        • UnaryBooleanStateFormula
        • UnaryPathFormula
        • UnaryStateFormula
        • UntilFormula
      • Stormpy.storage
        • AddIterator_Sylvan_Double
        • Add_Sylvan_Double
        • Bdd_Sylvan
        • BitVector
        • ChoiceLabeling
        • ChoiceOrigins
        • DdManager_Sylvan
        • DdMetaVariableType
        • DdMetaVariable_Sylvan
        • Dd_Sylvan
        • DiceStringVisitor
        • Distribution
        • DistributionExact
        • DistributionInterval
        • ExactSparseMatrix
        • ExactSparseMatrixBuilder
        • ExactSparseMatrixEntry
        • ExactSparseMatrixRows
        • Expression
        • ExpressionManager
        • ExpressionParser
        • ExpressionType
        • IntervalSparseMatrix
        • IntervalSparseMatrixBuilder
        • IntervalSparseMatrixEntry
        • IntervalSparseMatrixRows
        • ItemLabeling
        • JaniAssignment
        • JaniAutomaton
        • JaniChoiceOrigins
        • JaniConstant
        • JaniEdge
        • JaniEdgeDestination
        • JaniInformationObject
        • JaniLocation
        • JaniLocationExpander
        • JaniModel
        • JaniOrderedAssignments
        • JaniScopeChanger
        • JaniTemplateEdge
        • JaniTemplateEdgeDestination
        • JaniVariable
        • JaniVariableSet
        • MaximalEndComponent
        • MaximalEndComponentDecomposition_double
        • MaximalEndComponentDecomposition_exact
        • MaximalEndComponentDecomposition_interval
        • MaximalEndComponentDecomposition_ratfunc
        • ModelType
        • OperatorType
        • OverlappingGuardAnalyser
        • ParametricSparseMatrix
        • ParametricSparseMatrixBuilder
        • ParametricSparseMatrixEntry
        • ParametricSparseMatrixRows
        • PolytopeDouble
        • PolytopeExact
        • PrismAssignment
        • PrismBooleanVariable
        • PrismChoiceOrigins
        • PrismCommand
        • PrismConstant
        • PrismIntegerVariable
        • PrismLabel
        • PrismModelType
        • PrismModule
        • PrismProgram
        • PrismRewardModel
        • PrismUpdate
        • PrismVariable
        • Scheduler
        • SchedulerChoice
        • SchedulerChoiceExact
        • SchedulerChoiceInterval
        • SchedulerChoiceParametric
        • SchedulerExact
        • SchedulerInterval
        • SchedulerParametric
        • SimpleValuation
        • SparseCtmc
        • SparseDtmc
        • SparseExactCtmc
        • SparseExactDtmc
        • SparseExactMA
        • SparseExactMdp
        • SparseExactModelAction
        • SparseExactModelActions
        • SparseExactModelComponents
        • SparseExactModelState
        • SparseExactModelStates
        • SparseExactPomdp
        • SparseExactRewardModel
        • SparseExactSmg
        • SparseIntervalCtmc
        • SparseIntervalDtmc
        • SparseIntervalMA
        • SparseIntervalMdp
        • SparseIntervalModelAction
        • SparseIntervalModelActions
        • SparseIntervalModelComponents
        • SparseIntervalModelState
        • SparseIntervalModelStates
        • SparseIntervalPomdp
        • SparseIntervalRewardModel
        • SparseIntervalSmg
        • SparseMA
        • SparseMatrix
        • SparseMatrixBuilder
        • SparseMatrixEntry
        • SparseMatrixRows
        • SparseMdp
        • SparseModelAction
        • SparseModelActions
        • SparseModelComponents
        • SparseModelState
        • SparseModelStates
        • SparseParametricCtmc
        • SparseParametricDtmc
        • SparseParametricMA
        • SparseParametricMdp
        • SparseParametricModelAction
        • SparseParametricModelActions
        • SparseParametricModelComponents
        • SparseParametricModelState
        • SparseParametricModelStates
        • SparseParametricPomdp
        • SparseParametricRewardModel
        • SparsePomdp
        • SparseRewardModel
        • SparseSmg
        • StateLabeling
        • StateValuation
        • StateValuationsBuilder
        • SymbolicSylvanCtmc
        • SymbolicSylvanDtmc
        • SymbolicSylvanMA
        • SymbolicSylvanMdp
        • SymbolicSylvanParametricCtmc
        • SymbolicSylvanParametricDtmc
        • SymbolicSylvanParametricMA
        • SymbolicSylvanParametricMdp
        • SymbolicSylvanParametricRewardModel
        • SymbolicSylvanRewardModel
        • Valuation
        • Variable
        • build_parametric_sparse_matrix()
        • build_sparse_matrix()
        • collect_information()
        • eliminate_reward_accumulations()
        • get_maximal_end_components()
      • Stormpy.utility
        • JsonContainerDouble
        • JsonContainerRational
        • MatrixFormat
        • ModelReference
        • Path
        • ShortestPathsGenerator
        • SmtCheckResult
        • SmtSolver
        • SmtSolverFactory
        • Z3SmtSolver
        • Z3SmtSolverFactory
        • milliseconds
      • Stormpy.dft
        • ApproximationHeuristic
        • DFTBE_double
        • DFTBE_ratfunc
        • DFTDependency_double
        • DFTDependency_ratfunc
        • DFTElementType
        • DFTElement_double
        • DFTElement_ratfunc
        • DFTInstantiator
        • DFTSimulator_double
        • DFTSimulator_ratfunc
        • DFTStateInfo
        • DFTState_double
        • DFTState_ratfunc
        • DFT_double
        • DFT_ratfunc
        • DftIndependentModule
        • DftSymmetries
        • ExplicitDFTModelBuilder_double
        • ExplicitDFTModelBuilder_ratfunc
        • FailableElement
        • FailableElements
        • FailableIterator
        • RandomGenerator
        • RelevantEvents
        • SimulationStepResult
        • SimulationTraceResult
        • analyze_dft()
        • build_model()
        • compute_dependency_conflicts()
        • compute_relevant_events()
        • export_dft_json_file()
        • export_dft_json_string()
        • export_parametric_dft_json_file()
        • export_parametric_dft_json_string()
        • get_parameters()
        • has_potential_modeling_issues()
        • is_well_formed()
        • load_dft_galileo_file()
        • load_dft_json_file()
        • load_dft_json_string()
        • load_parametric_dft_galileo_file()
        • load_parametric_dft_json_file()
        • load_parametric_dft_json_string()
        • modules_json()
        • prepare_for_analysis()
        • transform_dft()
      • Stormpy.gspn
        • GSPN
        • GSPNBuilder
        • GSPNParser
        • GSPNToJaniBuilder
        • ImmediateTransition
        • LayoutInfo
        • Place
        • TimedTransition
        • Transition
        • TransitionPartition
      • Stormpy.pars
        • DtmcParameterLiftingModelChecker
        • MdpParameterLiftingModelChecker
        • ModelInstantiator
        • ModelType
        • PCtmcExactInstantiationChecker
        • PCtmcInstantiationChecker
        • PCtmcInstantiator
        • PDtmcExactInstantiationChecker
        • PDtmcInstantiationChecker
        • PDtmcInstantiator
        • PMaInstantiator
        • PMdpExactInstantiationChecker
        • PMdpInstantiationChecker
        • PMdpInstantiator
        • ParameterRegion
        • PartialPCtmcInstantiator
        • PartialPDtmcInstantiator
        • PartialPMaInstantiator
        • PartialPMdpInstantiator
        • RegionModelChecker
        • RegionResult
        • RegionResultHypothesis
        • StormError
        • create_region_checker()
        • gather_derivatives()
        • simplify_model()
      • Pycarl core
        • Number independent types
        • Number dependent types (gmp)
        • Number dependent types (cln)
      • Pycarl convert
        • Number conversion
      • Pycarl formula
        • Number independent types
        • Number dependent types (gmp)
        • Number dependent types (cln)
      • Pycarl parse
        • Number independent types
        • Number dependent types (gmp)
        • Number dependent types (cln)
  • Page
      • Advanced Examples
  • « Getting Started
  • Analysis »
  • Advanced Examples

Advanced ExamplesΒΆ

This guide is a collection of examples meant to bridge the gap between the getting started guide and the API.

Contents:

  • Analysis
    • Background
    • Qualitative Analysis
    • Adapting the model checking engine
    • Adapting model checking algorithms
  • Building Models
    • Background
    • Building different formalisms
  • Discrete-time Markov chains (DTMCs)
    • Background
    • Transition Matrix
    • Labeling
    • Reward Models
    • Building the Model
  • Markov decision processes (MDPs)
    • Background
    • Transition Matrix
    • Labeling
    • Reward models
    • Building the Model
    • Partially observable Markov decision process (POMDPs)
  • Continuous-time Markov chains (CTMCs)
    • Background
    • Transition Matrix
    • Labeling
    • Building the Model
  • Markov automata (MAs)
    • Background
    • Transition Matrix
    • Markovian States
    • Building the Model
  • Engines
    • Background
    • Sparse engine
    • Symbolic engine
    • Hybrid engine
  • Exploring Models
    • Background
    • Reading MDPs
    • Reading POMDPs
    • Sorting states
    • Reading MAs
  • Working with Simulators
    • Model-based simulation
    • Program-level simulator
  • Reward Models
    • Exploring reward models
  • Working with Schedulers
    • Examining Schedulers for MDPs
    • Examining Schedulers for Markov automata
  • Working with Shortest Paths
    • Background
    • Examining Shortest Paths
  • Parametric Models
    • Instantiating parametric models
    • Checking parametric models
    • Collecting information about the parametric models
  • Dynamic Fault Trees
    • Building DFTs
    • Analyzing DFTs
  • Generalized Stochastic Petri Nets
    • Loading GSPNs
    • Building GSPNs

Back to top

Source

© Copyright 2016-2022 Moves RWTH Aachen.
Created using Sphinx 8.1.3.