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, setMaxIntRedpublic GoldenRatio(Optimizer opt)
opt - a reference to the Optimizer objectprotected double getReductionFactor()
getReductionFactor in class IntervalDividerpublic void setUncertaintyInterval(double dx)
setUncertaintyInterval in class IntervalDividerdx - the normalized fraction of the uncertainty interval