|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.data.model.BaseModel de.lmu.ifi.dbs.elki.data.model.DimensionModel
public class DimensionModel
Cluster model just providing a cluster dimensionality.
Field Summary | |
---|---|
private int |
dimension
Number of dimensions |
Constructor Summary | |
---|---|
DimensionModel(Integer dimension)
Constructor |
Method Summary | |
---|---|
int |
getDimension()
Get cluster dimensionality |
void |
setDimension(int dimension)
Set cluster dimensionality |
void |
writeToText(TextWriterStream out,
String label)
Implementation of TextWriteable interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int dimension
Constructor Detail |
---|
public DimensionModel(Integer dimension)
dimension
- number of dimensionsMethod Detail |
---|
public int getDimension()
public void setDimension(int dimension)
dimension
- new dimensionalitypublic void writeToText(TextWriterStream out, String label)
TextWriteable
interface
writeToText
in interface TextWriteable
writeToText
in class BaseModel
out
- Output steamlabel
- Optional label to prefix
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |