at.tuwien.ifs.somtoolbox.clustering
Enum DistanceFunctionType

java.lang.Object
  extended by java.lang.Enum<DistanceFunctionType>
      extended by at.tuwien.ifs.somtoolbox.clustering.DistanceFunctionType
All Implemented Interfaces:
Serializable, Comparable<DistanceFunctionType>

public enum DistanceFunctionType
extends Enum<DistanceFunctionType>


Enum Constant Summary
Area
           
Edit
           
Euclidean
           
EuclideanDiffNrOfStops
           
MinEuclidean
           
 
Method Summary
static DistanceFunctionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DistanceFunctionType[] 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

Euclidean

public static final DistanceFunctionType Euclidean

MinEuclidean

public static final DistanceFunctionType MinEuclidean

Edit

public static final DistanceFunctionType Edit

Area

public static final DistanceFunctionType Area

EuclideanDiffNrOfStops

public static final DistanceFunctionType EuclideanDiffNrOfStops
Method Detail

values

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

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

valueOf

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