public enum DistanceFunction extends Enum<DistanceFunction>
| Modifier and Type | Method and Description |
|---|---|
double |
f(Activation iAct,
Activation oAct) |
static DistanceFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistanceFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistanceFunction NONE
public static final DistanceFunction DEGRADING
public static DistanceFunction[] values()
for (DistanceFunction c : DistanceFunction.values()) System.out.println(c);
public static DistanceFunction 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 nullpublic double f(Activation iAct, Activation oAct)
Copyright © 2018. All rights reserved.