|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApproxKNNQueryOperation.LocalSearchType>
messif.operations.query.ApproxKNNQueryOperation.LocalSearchType
public static enum ApproxKNNQueryOperation.LocalSearchType
Enumeration of types of the stop condition for approximation's early termination strategy.
Enum Constant Summary | |
---|---|
ABS_DC_COUNT
Stop after the specific number of evaluations of distance functions. |
|
ABS_OBJ_COUNT
Stop after inspecting the specific number of objects. |
|
DATA_PARTITIONS
Stop after a specific number of "data regions" (buckets, clusters) is accessed and searched. |
|
PERCENTAGE
Stop after inspecting given percentage of data. |
Method Summary | |
---|---|
static ApproxKNNQueryOperation.LocalSearchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ApproxKNNQueryOperation.LocalSearchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ApproxKNNQueryOperation.LocalSearchType PERCENTAGE
ApproxKNNQueryOperation.localSearchParam
holds the value between 0-100.
public static final ApproxKNNQueryOperation.LocalSearchType ABS_OBJ_COUNT
ApproxKNNQueryOperation.localSearchParam
is the number of objects.
public static final ApproxKNNQueryOperation.LocalSearchType ABS_DC_COUNT
ApproxKNNQueryOperation.localSearchParam
is the threshold on the number of distance computations.
public static final ApproxKNNQueryOperation.LocalSearchType DATA_PARTITIONS
ApproxKNNQueryOperation.localSearchParam
is the limit on "data regions" (partitions, buckets, clusters) to be accessed.
Method Detail |
---|
public static ApproxKNNQueryOperation.LocalSearchType[] values()
for (ApproxKNNQueryOperation.LocalSearchType c : ApproxKNNQueryOperation.LocalSearchType.values()) System.out.println(c);
public static ApproxKNNQueryOperation.LocalSearchType 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |