public class DendrogramModel extends java.lang.Object implements Model
Modifier and Type | Field and Description |
---|---|
private double |
height
Distance to child cluster
|
Constructor and Description |
---|
DendrogramModel(double distance)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDistance() |
java.lang.String |
toString() |
void |
writeToText(TextWriterStream out,
java.lang.String label)
Default implementation of
TextWriteable.writeToText(de.lmu.ifi.dbs.elki.result.textwriter.TextWriterStream, java.lang.String) . |
public DendrogramModel(double distance)
distance
- Distance to child cluster.public double getDistance()
public void writeToText(TextWriterStream out, java.lang.String label)
Model
TextWriteable.writeToText(de.lmu.ifi.dbs.elki.result.textwriter.TextWriterStream, java.lang.String)
.
Note: we deliberately do not implement TextWriteable!writeToText
in interface Model
out
- Output steamlabel
- Optional label to prefixpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.