public class DimensionModel extends java.lang.Object implements Model, TextWriteable
Modifier and Type | Field and Description |
---|---|
private int |
dimension
Number of dimensions
|
Constructor and Description |
---|
DimensionModel(int dimension)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Get cluster dimensionality
|
void |
setDimension(int dimension)
Set cluster dimensionality
|
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 DimensionModel(int dimension)
dimension
- number of dimensionspublic int getDimension()
public void setDimension(int dimension)
dimension
- new dimensionalitypublic 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
writeToText
in interface TextWriteable
out
- Output steamlabel
- Optional label to prefixCopyright © 2019 ELKI Development Team. License information.