public enum ConjugateGradientFormula extends java.lang.Enum<ConjugateGradientFormula>
NonLinearConjugateGradientOptimizer
.
The β parameter is used to compute the successive conjugate search directions. For non-linear conjugate gradients, there are two formulas to compute β:
NonLinearConjugateGradientOptimizer
Enum Constant and Description |
---|
FLETCHER_REEVES
Fletcher-Reeves formula.
|
POLAK_RIBIERE
Polak-Ribière formula.
|
Modifier and Type | Method and Description |
---|---|
static ConjugateGradientFormula |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConjugateGradientFormula[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConjugateGradientFormula FLETCHER_REEVES
public static final ConjugateGradientFormula POLAK_RIBIERE
public static ConjugateGradientFormula[] values()
for (ConjugateGradientFormula c : ConjugateGradientFormula.values()) System.out.println(c);
public static ConjugateGradientFormula valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"