Class SobolSensitivityAnalysis.SobolSensitivityResult
java.lang.Object
org.moeaframework.analysis.sensitivity.SobolSensitivityAnalysis.SobolSensitivityResult
- All Implemented Interfaces:
FirstOrderSensitivity
,SecondOrderSensitivity
,SensitivityResult
,TotalOrderSensitivity
,Displayable
- Enclosing class:
- SobolSensitivityAnalysis
public class SobolSensitivityAnalysis.SobolSensitivityResult
extends Object
implements SensitivityResult, FirstOrderSensitivity, SecondOrderSensitivity, TotalOrderSensitivity
Computes the results of the Sobol' global variance decomposition procedure.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
display
(PrintStream out) Displays the contents of this object to the given output stream.Sensitivity<Parameter<?>>
getFirstOrder
(Parameter<?> key) Returns the first-order effect for the given parameter.Returns the parameter set associated with this sensitivity analysis.Sensitivity<org.apache.commons.lang3.tuple.Pair<Parameter<?>,
Parameter<?>>> getSecondOrder
(Parameter<?> left, Parameter<?> right) Returns the second-order effect for the given parameters.Sensitivity<Parameter<?>>
getTotalOrder
(Parameter<?> key) Returns the total-order effect for the given parameter.void
save
(PrintWriter output) Computes and displays the first-, total-, and second- order Sobol' sensitivities and 50% bootstrap confidence intervals.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.moeaframework.util.format.Displayable
display
Methods inherited from interface org.moeaframework.analysis.sensitivity.FirstOrderSensitivity
getFirstOrder
Methods inherited from interface org.moeaframework.analysis.sensitivity.SecondOrderSensitivity
getSecondOrder
Methods inherited from interface org.moeaframework.analysis.sensitivity.TotalOrderSensitivity
getTotalOrder
-
Method Details
-
getParameterSet
Description copied from interface:SensitivityResult
Returns the parameter set associated with this sensitivity analysis.- Specified by:
getParameterSet
in interfaceSensitivityResult
- Returns:
- the parameter set
-
getFirstOrder
Description copied from interface:FirstOrderSensitivity
Returns the first-order effect for the given parameter.- Specified by:
getFirstOrder
in interfaceFirstOrderSensitivity
- Parameters:
key
- the parameter- Returns:
- the first-order effect
-
getTotalOrder
Description copied from interface:TotalOrderSensitivity
Returns the total-order effect for the given parameter.- Specified by:
getTotalOrder
in interfaceTotalOrderSensitivity
- Parameters:
key
- the parameter- Returns:
- the total-order effect
-
getSecondOrder
public Sensitivity<org.apache.commons.lang3.tuple.Pair<Parameter<?>,Parameter<?>>> getSecondOrder(Parameter<?> left, Parameter<?> right) Description copied from interface:SecondOrderSensitivity
Returns the second-order effect for the given parameters.- Specified by:
getSecondOrder
in interfaceSecondOrderSensitivity
- Parameters:
left
- the first parameterright
- the second parameter- Returns:
- the second-order effect
-
save
Computes and displays the first-, total-, and second- order Sobol' sensitivities and 50% bootstrap confidence intervals.- Parameters:
output
- the output writer
-
display
Description copied from interface:Displayable
Displays the contents of this object to the given output stream. This method does not close the underlying stream; the caller is responsible for disposing it.- Specified by:
display
in interfaceDisplayable
- Parameters:
out
- the output stream
-