public static enum WolfeNWLineSearch.AlphaInit extends Enum<WolfeNWLineSearch.AlphaInit>
Enum Constant and Description |
---|
METHOD1
Initializes the new α value via αprev
∇f(xprev)Tpprev/
∇f(xcur)Tpcur
|
METHOD2
Initializes the new α value via
2( f(xcur)-f(xprev))/φ'(0)
|
Modifier and Type | Method and Description |
---|---|
static WolfeNWLineSearch.AlphaInit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WolfeNWLineSearch.AlphaInit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WolfeNWLineSearch.AlphaInit METHOD1
public static final WolfeNWLineSearch.AlphaInit METHOD2
public static WolfeNWLineSearch.AlphaInit[] values()
for (WolfeNWLineSearch.AlphaInit c : WolfeNWLineSearch.AlphaInit.values()) System.out.println(c);
public static WolfeNWLineSearch.AlphaInit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.