Package elki.data.model
Interface PrototypeModel<V>
-
- All Superinterfaces:
Model
- All Known Implementing Classes:
CorrelationModel,EMModel,GeneratorModel,KMeansModel,MeanModel,MedoidModel,PrototypeDendrogramModel,SimplePrototypeModel,SubspaceModel
public interface PrototypeModel<V> extends Model
Cluster model that stores a prototype for each cluster.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VgetPrototype()java.lang.StringgetPrototypeType()Type of prototype (Median, Mean, ...) for printing.default voidwriteToText(TextWriterStream out, java.lang.String label)Implementation ofTextWriteableinterface.
-
-
-
Method Detail
-
getPrototype
V getPrototype()
- Returns:
- prototype
-
writeToText
default void writeToText(TextWriterStream out, java.lang.String label)
Implementation ofTextWriteableinterface.- Specified by:
writeToTextin interfaceModel- Parameters:
out- Output steamlabel- Optional label to prefix
-
getPrototypeType
java.lang.String getPrototypeType()
Type of prototype (Median, Mean, ...) for printing.- Returns:
- String name
-
-