mobios.index.algorithms
Enum PartitionMethods
java.lang.Object
java.lang.Enum<PartitionMethods>
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.
BALANCED
public static final PartitionMethods BALANCED
CLUSTERINGKMEANS
public static final PartitionMethods CLUSTERINGKMEANS
EXCLUDEDMIDDLE
public static final PartitionMethods EXCLUDEDMIDDLE
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
(C) 2002 - 2006 The MoBIoS Group