Package elki.data
Class HierarchicalClassLabel.Factory
- java.lang.Object
-
- elki.data.ClassLabel.Factory<HierarchicalClassLabel>
-
- elki.data.HierarchicalClassLabel.Factory
-
- Enclosing class:
- HierarchicalClassLabel
public static class HierarchicalClassLabel.Factory extends ClassLabel.Factory<HierarchicalClassLabel>
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 HierarchicalClassLabel>
getTypeInformation()
Get type information for the labels.HierarchicalClassLabel
makeFromString(java.lang.String lbl)
Convert a string into a class label.
-
-
-
Method Detail
-
makeFromString
public HierarchicalClassLabel makeFromString(java.lang.String lbl)
Description copied from class:ClassLabel.Factory
Convert a string into a class label.- Specified by:
makeFromString
in classClassLabel.Factory<HierarchicalClassLabel>
- Parameters:
lbl
- String to convert- Returns:
- Class label instance.
-
getTypeInformation
public SimpleTypeInformation<? super HierarchicalClassLabel> getTypeInformation()
Description copied from class:ClassLabel.Factory
Get type information for the labels.- Specified by:
getTypeInformation
in classClassLabel.Factory<HierarchicalClassLabel>
- Returns:
- Type information
-
-