public class PrototypeModel<V> extends AbstractModel implements TextWriteable
Modifier and Type | Field and Description |
---|---|
protected V |
prototype
Cluster prototype
|
Constructor and Description |
---|
PrototypeModel(V prototype)
Constructor with prototype
|
Modifier and Type | Method and Description |
---|---|
V |
getPrototype() |
protected String |
getPrototypeType()
Type of prototype (Median, Mean, ...) for printing.
|
void |
writeToText(TextWriterStream out,
String label)
Implementation of
TextWriteable interface. |
protected V prototype
public PrototypeModel(V prototype)
prototype
- Cluster prototypepublic V getPrototype()
public void writeToText(TextWriterStream out, String label)
TextWriteable
interface.writeToText
in interface TextWriteable
writeToText
in class AbstractModel
out
- Output steamlabel
- Optional label to prefixprotected String getPrototypeType()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.