|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgenopt.algorithm.util.linesearch.IntervalDivider
genopt.algorithm.util.linesearch.GoldenRatio
public class GoldenRatio
Class for doing a line search using the Golden Section division.
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2011, 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.
| Field Summary | |
|---|---|
protected static double |
gr
The Golden ratio (=0.618...) |
| Fields inherited from class genopt.algorithm.util.linesearch.IntervalDivider |
|---|
dimF, dimX, dx, LS, nIntRed, nIntRedMax, NINTREDMAXDEF, opt, x0, x1, x2, x3, xLow, xMin, xUpp |
| Constructor Summary | |
|---|---|
GoldenRatio(Optimizer opt)
Constructor |
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class genopt.algorithm.util.linesearch.IntervalDivider |
|---|
getXLower, getXMin, getXUpper, iterate, run, setAbsDFMin, setMaxIntRed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final double gr
| Constructor Detail |
|---|
public GoldenRatio(Optimizer opt)
opt - a reference to the Optimizer object| Method Detail |
|---|
protected double getReductionFactor()
getReductionFactor in class IntervalDividerpublic void setUncertaintyInterval(double dx)
setUncertaintyInterval in class IntervalDividerdx - the normalized fraction of the uncertainty interval
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||