SG++-Doxygen-Documentation
|
Public Member Functions | |
def | __init__ (self) |
def | andGetResult (self) |
def | fromFile (self, filename) |
def | interpolateTimeDependentResults (self, kind='linear') |
def | reachesSteadyState (self) |
def | saveAfterEachRun (self, n=1) |
def | verbose (self) |
def | withEndTime (self, tn) |
def | withoutTime (self) |
def | withPostprocessor (self, postprocessor) |
def | withPreprocessor (self, transformation) |
def | withSimulation (self, simulation) |
def | withStartTime (self, t0) |
def | withTimestep (self, dt) |
Builder class for UQSetting.
def python.uq.uq_setting.UQBuilder.UQBuilder.__init__ | ( | self | ) |
Constructor
References python.uq.uq_setting.UQBuilder.UQBuilder.__filename, python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__verbose, and python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__verbose.
def python.uq.uq_setting.UQBuilder.UQBuilder.andGetResult | ( | self | ) |
Generates a UQSetting object specified by the builder and returns it to the user.
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__verbose, and python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__verbose.
def python.uq.uq_setting.UQBuilder.UQBuilder.fromFile | ( | self, | |
filename | |||
) |
If the given file name exists, then the informations it contains is recycled for the coming runs. If not, then it specifies where the serialized UQSetting is going to be stored. @param filename: path to file containing a UQSetting serialization string
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.interpolateTimeDependentResults | ( | self, | |
kind = 'linear' |
|||
) |
Interpolate the result for one simulation path over time. @param kind: string, type of interpolation
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.reachesSteadyState | ( | self | ) |
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
Referenced by python.uq.uq_setting.UQSetting.UQSetting.getResult().
def python.uq.uq_setting.UQBuilder.UQBuilder.saveAfterEachRun | ( | self, | |
n = 1 |
|||
) |
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.verbose | ( | self | ) |
References python.uq.uq_setting.UQBuilder.UQBuilder.__verbose, python.uq.sampler.asgc.ASGCSampler.ASGCSampler.__verbose, and python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis.__verbose.
Referenced by python.uq.operations.forcePositivity.findIntersections.IntersectionCandidates.findIntersections().
def python.uq.uq_setting.UQBuilder.UQBuilder.withEndTime | ( | self, | |
tn | |||
) |
Set the end time of the simulation @param tn: end time
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withoutTime | ( | self | ) |
No time parameter used for the given simulation
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withPostprocessor | ( | self, | |
postprocessor | |||
) |
Sets the post-processor function which transforms the simulation outcome to some quantitiy of interest @param postprocessor: post-processor function
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withPreprocessor | ( | self, | |
transformation | |||
) |
Sets the transformation function for the input parameter @param transformation: transformation function
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withSimulation | ( | self, | |
simulation | |||
) |
Sets the simulation function which is used as black box in the UQ process. @param simulation: simulation function
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withStartTime | ( | self, | |
t0 | |||
) |
Set the start time of the simulation @param t0: start time
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.
def python.uq.uq_setting.UQBuilder.UQBuilder.withTimestep | ( | self, | |
dt | |||
) |
Set the time step of the simulation @param dt: time step
References python.uq.analysis.asgc.ASGCDescriptor.ASGCDescriptor.__specification, python.uq.learner.builder.RegressorSpecificationDescriptor.RegressorSpecificationDescriptor.__specification, python.uq.uq_setting.UQBuilder.UQBuilder.__specification, python.uq.learner.builder.SimulationLearnerBuilder.SimulationLearnerDescriptor.__specification, and python.learner.LearnerBuilder.LearnerBuilder.SpecificationDescriptor.__specification.