public class DimensionModel extends AbstractModel implements 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,
String label)
Implementation of
TextWriteable interface |
public DimensionModel(int dimension)
dimension
- number of dimensionspublic int getDimension()
public void setDimension(int dimension)
dimension
- new dimensionalitypublic void writeToText(TextWriterStream out, String label)
TextWriteable
interfacewriteToText
in interface TextWriteable
writeToText
in class AbstractModel
out
- Output steamlabel
- Optional label to prefixCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.