public static enum Binarise.TestPolicy extends java.lang.Enum<Binarise.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
, and set to 0
otherwise.
The default TestPolicy
used by the
Binarise
Kernel
is GEQ
.Modifier and Type | Method and Description |
---|---|
static void |
printValidPolicies() |
static void |
unknownType(Binarise.TestPolicy theTestPolicy) |
static Binarise.TestPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Binarise.TestPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Binarise.TestPolicy LESS
public static final Binarise.TestPolicy LEQ
public static final Binarise.TestPolicy GEQ
public static final Binarise.TestPolicy GREATER
public static Binarise.TestPolicy[] values()
for (Binarise.TestPolicy c : Binarise.TestPolicy.values()) System.out.println(c);
public static Binarise.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(Binarise.TestPolicy theTestPolicy)
public static void printValidPolicies()