org.android.activityminer.model.classification
Enum ClassifierTypes

Package class diagram package ClassifierTypes
java.lang.Object
  extended by java.lang.Enum<ClassifierTypes>
      extended by org.android.activityminer.model.classification.ClassifierTypes
All Implemented Interfaces:
Parcelable, Serializable, Comparable<ClassifierTypes>

public enum ClassifierTypes
extends Enum<ClassifierTypes>
implements Parcelable

The enumeration with the known types of classifiers.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Enum Constant Summary
knn
          k-nearest neighbor classifier
 
Field Summary
static Parcelable.Creator<ClassifierTypes> CREATOR
          The Parcelable creator.
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Method Summary
 int describeContents()
           
 int getDescriptionResourceID()
          Getter for the classifier description resource identifier
static ClassifierTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClassifierTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 void writeToParcel(Parcel dest, int flags)
           
 
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

knn

public static final ClassifierTypes knn
k-nearest neighbor classifier

Field Detail

CREATOR

public static final Parcelable.Creator<ClassifierTypes> CREATOR
The Parcelable creator.

Method Detail

values

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

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

valueOf

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

getDescriptionResourceID

public final int getDescriptionResourceID()
Getter for the classifier description resource identifier

Returns:
the description resource identifier of this classifier

describeContents

public final int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public final void writeToParcel(Parcel dest,
                                int flags)
Specified by:
writeToParcel in interface Parcelable