Mobios v0.91

mobios.index.algorithms
Enum PivotSelectionMethods

java.lang.Object
  extended by java.lang.Enum<PivotSelectionMethods>
      extended by mobios.index.algorithms.PivotSelectionMethods
All Implemented Interfaces:
Serializable, Comparable<PivotSelectionMethods>, PivotSelectionMethod

public enum PivotSelectionMethods
extends Enum<PivotSelectionMethods>
implements PivotSelectionMethod

All the built-in pivot selection methods. FFT: use Farthest-First-Traversal to find the corners of the data. Linear time. CENTER: choose the centers of the internal clusters, a method similar to CLARA. Slow RANDOM: select pivots randomly, first, but no performance guarantee. FFTANDPCA: a combination of FFT and Principal Component Analysis. Slow, but performs the best

Version:
2006.08.03
Author:
Rui Mao, Willlard

Enum Constant Summary
CENTER
           
EPCAF
           
FFT
           
PCA
           
PCAONFFT
           
RANDOM
           
 
Method Summary
static PivotSelectionMethods valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PivotSelectionMethods[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mobios.index.algorithms.PivotSelectionMethod
selectPivots, selectPivots
 

Enum Constant Detail

FFT

public static final PivotSelectionMethods FFT

CENTER

public static final PivotSelectionMethods CENTER

RANDOM

public static final PivotSelectionMethods RANDOM

PCA

public static final PivotSelectionMethods PCA

PCAONFFT

public static final PivotSelectionMethods PCAONFFT

EPCAF

public static final PivotSelectionMethods EPCAF
Method Detail

values

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

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

valueOf

public static PivotSelectionMethods 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

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group