public static enum ConditionalAverage.TestPolicy extends java.lang.Enum<ConditionalAverage.TestPolicy>
Kernel performs
on the threshold.
The tests available are: LESS (<), LEQ (<=)
, GEQ (>=) or GREATER (>). Values are set
to 1 iff the test evaluates to true.
The default TestPolicy used by the
Binarise Kernel is GEQ.| Modifier and Type | Method and Description |
|---|---|
static void |
printValidPolicies() |
static void |
unknownType(ConditionalAverage.TestPolicy theTestPolicy) |
static ConditionalAverage.TestPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConditionalAverage.TestPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionalAverage.TestPolicy LESS
public static final ConditionalAverage.TestPolicy LEQ
public static final ConditionalAverage.TestPolicy GEQ
public static final ConditionalAverage.TestPolicy GREATER
public static ConditionalAverage.TestPolicy[] values()
for (ConditionalAverage.TestPolicy c : ConditionalAverage.TestPolicy.values()) System.out.println(c);
public static ConditionalAverage.TestPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void unknownType(ConditionalAverage.TestPolicy theTestPolicy)
public static void printValidPolicies()