public static enum PassiveAggressive.Mode extends Enum<PassiveAggressive.Mode>
Enum Constant and Description |
---|
PA
The default Passive Aggressive algorithm, it performs correction
updates that make the minimal change necessary to correct the output
for a single input
|
PA1
Limits the aggressiveness by reducing the maximum correction to the
aggressiveness parameter |
PA2
Limits the aggressiveness by adding a constant factor to the
denominator of the correction.
|
Modifier and Type | Method and Description |
---|---|
static PassiveAggressive.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassiveAggressive.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassiveAggressive.Mode PA
public static final PassiveAggressive.Mode PA1
aggressiveness parameter
public static final PassiveAggressive.Mode PA2
public static PassiveAggressive.Mode[] values()
for (PassiveAggressive.Mode c : PassiveAggressive.Mode.values()) System.out.println(c);
public static PassiveAggressive.Mode 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.