com.googlecode.fannj
Enum ActivationFunction
java.lang.Object
java.lang.Enum<ActivationFunction>
com.googlecode.fannj.ActivationFunction
- All Implemented Interfaces:
- Serializable, Comparable<ActivationFunction>
public enum ActivationFunction
- extends Enum<ActivationFunction>
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
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(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null