org.android.activityminer.model.classification
Enum ClassifierTypes
java.lang.Object
java.lang.Enum<ClassifierTypes>
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.
Enum Constant Summary |
knn
k-nearest neighbor classifier |
knn
public static final ClassifierTypes knn
- k-nearest neighbor classifier
CREATOR
public static final Parcelable.Creator<ClassifierTypes> CREATOR
- The Parcelable creator.
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