ProbabilitySimulationAlgorithmFactory¶
- class ProbabilitySimulationAlgorithmFactory¶
Methods
buildFORMIS
(problem, nearestPointAlgorithm)Creates a FORM-IS algorithm.
buildMonteCarlo
(problem)Creates a Monte-Carlo algorithm.
- __init__()¶
Creates a ProbabilitySimulationAlgorithm algorithm.
- buildFORMIS(problem, nearestPointAlgorithm)¶
Creates a FORM-IS algorithm.
We first create a FORM object based on the AbdoRackwitz and run it to get the design point in the standard space. Then we create an ImportanceSamplingExperiment based on the gaussian distribution, centered on the design point. Finally, we create a ProbabilitySimulationAlgorithm.
- Parameters:
- problemot.ReliabilityBenchmarkProblem
The problem.
- nearestPointAlgorithmot.OptimizationAlgorithm
Optimization algorithm used to search the design point.
- Returns:
- algoot.ProbabilitySimulationAlgorithm
The FORM-IS algorithm for estimating the probability.
- buildMonteCarlo(problem)¶
Creates a Monte-Carlo algorithm.
We create a MonteCarloExperiment and we create a ProbabilitySimulationAlgorithm based on the problem event.
- Parameters:
- problemot.ReliabilityBenchmarkProblem
The problem.
- Returns:
- algoot.ProbabilitySimulationAlgorithm
The Monte-Carlo algorithm for estimating the probability.