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 V
getPrototype()
java.lang.String
getPrototypeType()
Type of prototype (Median, Mean, ...) for printing.default void
writeToText(TextWriterStream out, java.lang.String label)
Implementation ofTextWriteable
interface.
-
-
-
Method Detail
-
getPrototype
V getPrototype()
- Returns:
- prototype
-
writeToText
default void writeToText(TextWriterStream out, java.lang.String label)
Implementation ofTextWriteable
interface.- Specified by:
writeToText
in interfaceModel
- Parameters:
out
- Output steamlabel
- Optional label to prefix
-
getPrototypeType
java.lang.String getPrototypeType()
Type of prototype (Median, Mean, ...) for printing.- Returns:
- String name
-
-