Mobios v0.91

mobios.index.algorithms
Enum PartitionMethods

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

public enum PartitionMethods
extends Enum<PartitionMethods>
implements PartitionMethod

All the built-in data partition methods. Balance: all the partitions have similar sizes. Fast but performs worse CLUSTERINGKMEANS: partition the data according to the intrinsic clustering, use k-means for each dimension. CLUSTERINGBOUNDARY: partition according to the intrinsic clustering, use a boundary-oriented algorithm for each dimension.


Enum Constant Summary
BALANCED
           
CLUSTERINGKMEANS
           
EXCLUDEDMIDDLE
           
 
Method Summary
static PartitionMethods valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PartitionMethods[] 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.PartitionMethod
partition, partition, setMaxLeafSize, setMaxRadius
 

Enum Constant Detail

BALANCED

public static final PartitionMethods BALANCED

CLUSTERINGKMEANS

public static final PartitionMethods CLUSTERINGKMEANS

EXCLUDEDMIDDLE

public static final PartitionMethods EXCLUDEDMIDDLE
Method Detail

values

public static final PartitionMethods[] 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(PartitionMethods c : PartitionMethods.values())
        System.out.println(c);

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

valueOf

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