Package elki.data
Class SimpleClassLabel.Factory
- java.lang.Object
-
- elki.data.ClassLabel.Factory<SimpleClassLabel>
-
- elki.data.SimpleClassLabel.Factory
-
- Enclosing class:
- SimpleClassLabel
public static class SimpleClassLabel.Factory extends ClassLabel.Factory<SimpleClassLabel>
Factory class.- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.data.ClassLabel.Factory
existing
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleTypeInformation<? super SimpleClassLabel>
getTypeInformation()
Get type information for the labels.SimpleClassLabel
makeFromString(java.lang.String lbl)
Convert a string into a class label.
-
-
-
Method Detail
-
makeFromString
public SimpleClassLabel makeFromString(java.lang.String lbl)
Description copied from class:ClassLabel.Factory
Convert a string into a class label.- Specified by:
makeFromString
in classClassLabel.Factory<SimpleClassLabel>
- Parameters:
lbl
- String to convert- Returns:
- Class label instance.
-
getTypeInformation
public SimpleTypeInformation<? super SimpleClassLabel> getTypeInformation()
Description copied from class:ClassLabel.Factory
Get type information for the labels.- Specified by:
getTypeInformation
in classClassLabel.Factory<SimpleClassLabel>
- Returns:
- Type information
-
-