/usr/include/openturns/swig/StrongMaximumTest_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | %feature("docstring") OT::StrongMaximumTest
"Strong Maximum Test.
Available constructors:
StrongMaximumTest(*event, designPoint, importanceLevel, accuracyLevel, confidenceLevel*)
StrongMaximumTest(*event, designPoint, importanceLevel, accuracyLevel, pointNumber*)
Parameters
----------
event : :class:`~openturns.StandardEvent`
Failure event :math:`\\\\cD_f` defining in the standard space (U-space).
designPoint : sequence of float
Design point in the standard space resulting from the optimization
algorithm.
importanceLevel : float, :math:`0. < \\\\varepsilon < 1.`
Importance level.
accuracyLevel : float, :math:`\\\\tau > 0`
Accuracy level. It is recommanded to take :math:`\\\\tau \\\\leq 4`.
confidenceLevel : positive float, :math:`(1-q) \\\\in ]0., 1.[`
Confidence level.
pointNumber : int, :math:`N > 0`
Number of points used to perform the Strong Maximum Test, evaluated by the
limit state function.
Notes
-----
The Strong Maximum Test helps to evaluate the quality of the design point
:math:`P^*` resulting from the optimization algorithm launched for example by
the :class:`~openturns.Analytical` class or its derived classes
:class:`~openturns.FORM` and :class:`~openturns.SORM`.
It checks whether the design point computed is :
- the *true* design point, which means a global maximum point,
- a *strong* design point, which means that there is no other local maximum
located on the event boundary and which likelihood is slightly inferior to
the design point one.
The Strong Maximum Test will sample the sphere centered on the origin of the
standard space and of radius :
:math:`R = \\\\beta_{HL} (1 + \\\\tau \\\\delta_{\\\\varepsilon})` with :math:`\\\\tau > 0`,
:math:`\\\\delta_{\\\\varepsilon}=\\\\sqrt{1 - 2 \\\\frac{ln(\\\\varepsilon)}{\\\\beta_{HL}^2}} - 1`
and :math:`\\\\beta_{HL}` the Hasofer-Lind reliability index.
The number :math:`N` of the simulations sampling the sphere of radius :math:`R`
is determined to ensure that the test detects with a probability greater than
:math:`(1-q)` any point of :math:`\\\\cD_f` outside the design point vicinity
which contribution to :math:`P_f` is not negligeable (i.e. which density value
in the U-space is greater than :math:`\\\\varepsilon` times the density value at
the design point).
See also
--------
Analytical, SORM, FORM, SORMResult, FORMResult
Examples
--------
>>> import openturns as ot
>>> myFunction = ot.NumericalMathFunction(['E', 'F', 'L', 'I'], ['d'], ['-F*L^3/(3*E*I)'])
>>> myDistribution = ot.Normal([50., 1., 10., 5.], [1.]*4, ot.IdentityMatrix(4))
>>> vect = ot.RandomVector(myDistribution)
>>> output = ot.RandomVector(myFunction, vect)
>>> myEvent = ot.Event(output, ot.Less(), -3.0)
>>> # FORM analyse to get the design point
>>> myAlgo = ot.FORM(ot.Cobyla(), myEvent, [50., 1., 10., 5.])
>>> myAlgo.run()
>>> FORMresult = myAlgo.getResult()
>>> designPoint = FORMresult.getStandardSpaceDesignPoint()
>>> # Strong Max Test
>>> myStandardEvent = ot.StandardEvent(myEvent)
>>> myTest = ot.StrongMaximumTest(myStandardEvent, designPoint, 0.15, 3, 0.99)
>>> myTest.run()"
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getAccuracyLevel
"Accessor to the accuracy level.
Returns
-------
accuracy : positive float
Accuracy level :math:`\\\\tau`."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getConfidenceLevel
"Accessor to the confidence level.
Returns
-------
level : positive float
Confidence level :math:`(1-q)`."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getDeltaEpsilon
"Accessor to the parameter :math:`\\\\delta_{\\\\varepsilon}`.
Returns
-------
delta_epsilon : float
:math:`\\\\delta_{\\\\varepsilon} = \\\\sqrt{1 - 2 \\\\frac{ln(\\\\varepsilon)}{\\\\beta^2}} - 1`."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getDesignPointVicinity
"Accessor to the design point vinicity.
Returns
-------
vicinity : float, :math:`v > 0`
Design point vinicity :math:`v = \\\\frac{1} {1 + \\\\tau \\\\delta_{\\\\varepsilon}}`."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getEvent
"Accessor to the event in the standard space.
Returns
-------
event : :class:`~openturns.StandardEvent`
Failure event :math:`\\\\cD_f` in the standard space on which is based the
Strong Maximum Test."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getFarDesignPointVerifyingEventPoints
"Accessor to the points verifying the event and far of the design point.
Returns
-------
points : :class:`~openturns.NumericalSample`
The points of the discretized sphere which are out of the vicinity of
the standard design point and which verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getFarDesignPointVerifyingEventValues
"Accessor to values of the limit state function.
Returns
-------
values : :class:`~openturns.NumericalSample`
The values of the limit state function on the points of the
discretized sphere which are out of the vicinity of the standard design
point and which verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getFarDesignPointViolatingEventPoints
"Accessor to the points not verifying the event and far of the design point.
Returns
-------
points : :class:`~openturns.NumericalSample`
The points of the discretized sphere which are out of the vicinity of
the standard design point and which don't verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getFarDesignPointViolatingEventValues
"Accessor to values of the limit state function.
Returns
-------
values : :class:`~openturns.NumericalSample`
The values of the limit state function on the points of the
discretized sphere which are out of the vicinity of the standard design
point and which don't verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getImportanceLevel
"Accessor to the importance level.
Returns
-------
level : float
Importance level :math:`\\\\varepsilon`."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getNearDesignPointVerifyingEventPoints
"Accessor to the points verifying the event and near of the design point.
Returns
-------
points : :class:`~openturns.NumericalSample`
The points of the discretized sphere which are inside the vicinity of
the standard design point and which verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getNearDesignPointVerifyingEventValues
"Accessor to values of the limit state function.
Returns
-------
values : :class:`~openturns.NumericalSample`
The values of the limit state function on the points of the
discretized sphere which are inside the vicinity of the standard design
point and which verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getNearDesignPointViolatingEventPoints
"Accessor to the points not verifying the event and near of the design point.
Returns
-------
point : :class:`~openturns.NumericalSample`
The points of the discretized sphere which are out of the vicinity of
the standard design point and which don't verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getNearDesignPointViolatingEventValues
"Accessor to values of the limit state function.
Returns
-------
values : :class:`~openturns.NumericalSample`
The values of the limit state function on the points of the
discretized sphere which are inside the vicinity of the standard design
point and which don't verify the event."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getPointNumber
"Accessor to the number of points.
Returns
-------
number : int, :math:`N > 0`
Number of points used to perform the Strong Maximum Test, evaluated by the
limit state function."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::getStandardSpaceDesignPoint
"Accessor to the design point in the standard space.
Returns
-------
point : :class:`~openturns.NumericalPoint`
Design point in the standard space."
// ---------------------------------------------------------------------
%feature("docstring") OT::StrongMaximumTest::run
"Perform the Strong Maximum Test."
|