Package com.googlecode.fannj
Enum TrainingAlgorithm
- java.lang.Object
-
- java.lang.Enum<TrainingAlgorithm>
-
- com.googlecode.fannj.TrainingAlgorithm
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TrainingAlgorithm>
public enum TrainingAlgorithm extends java.lang.Enum<TrainingAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FANN_TRAIN_BATCH
FANN_TRAIN_INCREMENTAL
FANN_TRAIN_QUICKPROP
FANN_TRAIN_RPROP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrainingAlgorithm
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TrainingAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FANN_TRAIN_INCREMENTAL
public static final TrainingAlgorithm FANN_TRAIN_INCREMENTAL
-
FANN_TRAIN_BATCH
public static final TrainingAlgorithm FANN_TRAIN_BATCH
-
FANN_TRAIN_RPROP
public static final TrainingAlgorithm FANN_TRAIN_RPROP
-
FANN_TRAIN_QUICKPROP
public static final TrainingAlgorithm FANN_TRAIN_QUICKPROP
-
-
Method Detail
-
values
public static TrainingAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TrainingAlgorithm c : TrainingAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrainingAlgorithm valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-