public static enum DifferentialEvolution.Strategy extends java.lang.Enum<DifferentialEvolution.Strategy>
| Enum Constant and Description |
|---|
BEST_1
vi = xb1 + f1 * (xr2 - xr3)
|
BEST_2
vi = xb1 + f1 * (xr2 - xr3 + xr4 - xr5)
|
CURRENT_TO_BEST
vi = xi + f1 * (xr2 - xr3) + f2 * (xb - xi)
|
CURRENT_TO_RAND
vi = xi + f1 * (xr2 - xr3) + f2 * (xr1 - xi)
|
RAND_1
vi = xr1 + f1 * (xr2 - xr3)
|
RAND_2
vi = xr1 + f1 * (xr2 - xr3 + xr4 - xr5)
|
RAND_TO_BEST
vi = xr1 + f1 * (xr2 - xr3) + f2 * (xb - xr1)
|
| Modifier and Type | Method and Description |
|---|---|
static DifferentialEvolution.Strategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DifferentialEvolution.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DifferentialEvolution.Strategy RAND_1
public static final DifferentialEvolution.Strategy RAND_2
public static final DifferentialEvolution.Strategy BEST_1
public static final DifferentialEvolution.Strategy BEST_2
public static final DifferentialEvolution.Strategy RAND_TO_BEST
public static final DifferentialEvolution.Strategy CURRENT_TO_BEST
public static final DifferentialEvolution.Strategy CURRENT_TO_RAND
public static DifferentialEvolution.Strategy[] values()
for (DifferentialEvolution.Strategy c : DifferentialEvolution.Strategy.values()) System.out.println(c);
public static DifferentialEvolution.Strategy 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