de.hpi.fgis.dude.algorithm.duplicatedetection
Enum DuplicateCountSNM.AdaptionMode

java.lang.Object
  extended by java.lang.Enum<DuplicateCountSNM.AdaptionMode>
      extended by de.hpi.fgis.dude.algorithm.duplicatedetection.DuplicateCountSNM.AdaptionMode
All Implemented Interfaces:
Serializable, Comparable<DuplicateCountSNM.AdaptionMode>
Enclosing class:
DuplicateCountSNM

public static enum DuplicateCountSNM.AdaptionMode
extends Enum<DuplicateCountSNM.AdaptionMode>

This enumeration collects all the modes which can be used.

Author:
Fabian Lindenberg

Enum Constant Summary
BASIC
          As long as the number of duplicates divided by the number of comparison is higher than a given threshold, the window size will be increased step-wise.
DISTANCE_BASED_INCREASE
          If a duplicate is detected, the window will be increased by the maximum distance of two duplicates in the current window or by its original size minus one, whichever is higher.
MULTI_REC_INCREASE
          If a duplicate is detected, the window will be increased by its original size minus one.
PERCENTAGE_INCREASE
          If a duplicate is detected, the window will be increased by a defined percentage of its current size or by its original size minus one, whichever is higher.
 
Method Summary
static DuplicateCountSNM.AdaptionMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DuplicateCountSNM.AdaptionMode[] 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

BASIC

public static final DuplicateCountSNM.AdaptionMode BASIC
As long as the number of duplicates divided by the number of comparison is higher than a given threshold, the window size will be increased step-wise.


MULTI_REC_INCREASE

public static final DuplicateCountSNM.AdaptionMode MULTI_REC_INCREASE
If a duplicate is detected, the window will be increased by its original size minus one. Later on, the detected duplicate object will be skipped, as transitivity is assumed. Furthermore, the window size increases step-wise as long as the number of duplicates divided by the number of comparison is higher than a given threshold.


DISTANCE_BASED_INCREASE

public static final DuplicateCountSNM.AdaptionMode DISTANCE_BASED_INCREASE
If a duplicate is detected, the window will be increased by the maximum distance of two duplicates in the current window or by its original size minus one, whichever is higher. Later on, the detected duplicate object will be skipped, as transitivity is assumed. Furthermore, the window size increases step-wise as long as the number of duplicates divided by the number of comparison is higher than a given threshold.


PERCENTAGE_INCREASE

public static final DuplicateCountSNM.AdaptionMode PERCENTAGE_INCREASE
If a duplicate is detected, the window will be increased by a defined percentage of its current size or by its original size minus one, whichever is higher. Later on, the detected duplicate object will be skipped, as transitivity is assumed. Furthermore, the window size increases step-wise as long as the number of duplicates divided by the number of comparison is higher than a given threshold.

Method Detail

values

public static DuplicateCountSNM.AdaptionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DuplicateCountSNM.AdaptionMode c : DuplicateCountSNM.AdaptionMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DuplicateCountSNM.AdaptionMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.