public class GoldenRatio extends IntervalDivider
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2021, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
Modifier and Type | Field and Description |
---|---|
protected static double |
gr
The Golden ratio (=0.618...)
|
Constructor and Description |
---|
GoldenRatio(Optimizer opt)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected double |
getReductionFactor()
Gets the reduction factor q = I(n+1)/I(n)
|
void |
setUncertaintyInterval(double dx)
Sets the fraction of the desired uncertainty interval (0..1)
|
getXLower, getXMin, getXUpper, iterate, run, setAbsDFMin, setMaxIntRed
public GoldenRatio(Optimizer opt)
opt
- a reference to the Optimizer objectprotected double getReductionFactor()
getReductionFactor
in class IntervalDivider
public void setUncertaintyInterval(double dx)
setUncertaintyInterval
in class IntervalDivider
dx
- the normalized fraction of the uncertainty interval