Package com.googlecode.fannj
Enum ActivationFunction
- java.lang.Object
-
- java.lang.Enum<ActivationFunction>
-
- com.googlecode.fannj.ActivationFunction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActivationFunction>
public enum ActivationFunction extends java.lang.Enum<ActivationFunction>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivationFunction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActivationFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FANN_LINEAR
public static final ActivationFunction FANN_LINEAR
-
FANN_THRESHOLD
public static final ActivationFunction FANN_THRESHOLD
-
FANN_THRESHOLD_SYMMETRIC
public static final ActivationFunction FANN_THRESHOLD_SYMMETRIC
-
FANN_SIGMOID
public static final ActivationFunction FANN_SIGMOID
-
FANN_SIGMOID_STEPWISE
public static final ActivationFunction FANN_SIGMOID_STEPWISE
-
FANN_SIGMOID_SYMMETRIC
public static final ActivationFunction FANN_SIGMOID_SYMMETRIC
-
FANN_SIGMOID_SYMMETRIC_STEPWISE
public static final ActivationFunction FANN_SIGMOID_SYMMETRIC_STEPWISE
-
FANN_GAUSSIAN
public static final ActivationFunction FANN_GAUSSIAN
-
FANN_GAUSSIAN_SYMMETRIC
public static final ActivationFunction FANN_GAUSSIAN_SYMMETRIC
-
FANN_GAUSSIAN_STEPWISE
public static final ActivationFunction FANN_GAUSSIAN_STEPWISE
-
FANN_ELLIOT
public static final ActivationFunction FANN_ELLIOT
-
FANN_ELLIOT_SYMMETRIC
public static final ActivationFunction FANN_ELLIOT_SYMMETRIC
-
FANN_LINEAR_PIECE
public static final ActivationFunction FANN_LINEAR_PIECE
-
FANN_LINEAR_PIECE_SYMMETRIC
public static final ActivationFunction FANN_LINEAR_PIECE_SYMMETRIC
-
FANN_SIN_SYMMETRIC
public static final ActivationFunction FANN_SIN_SYMMETRIC
-
FANN_COS_SYMMETRIC
public static final ActivationFunction FANN_COS_SYMMETRIC
-
FANN_SIN
public static final ActivationFunction FANN_SIN
-
FANN_COS
public static final ActivationFunction FANN_COS
-
-
Method Detail
-
values
public static ActivationFunction[] 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 (ActivationFunction c : ActivationFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivationFunction 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
-
-