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