|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.data.model.BaseModel
de.lmu.ifi.dbs.elki.data.model.SubspaceModel<V>
V
- the type of FeatureVector the subspace containspublic class SubspaceModel<V extends FeatureVector<V,?>>
Model for Subspace Clusters.
Field Summary | |
---|---|
private Subspace<V> |
subspace
The subspace of the cluster. |
Constructor Summary | |
---|---|
SubspaceModel(BitSet dimensions)
Creates a new SubspaceModel for a subspace of the specified dimensions. |
|
SubspaceModel(Subspace<V> subspace)
Creates a new SubspaceModel for the specified subspace. |
Method Summary | |
---|---|
BitSet |
getDimensions()
Returns the BitSet that represents the dimensions of the subspace of this SubspaceModel. |
Subspace<V> |
getSubspace()
Returns the subspace of this SubspaceModel. |
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 final Subspace<V extends FeatureVector<V,?>> subspace
Constructor Detail |
---|
public SubspaceModel(Subspace<V> subspace)
subspace
- the subspaces of the clusterpublic SubspaceModel(BitSet dimensions)
dimensions
- the dimensions of the subspaceMethod Detail |
---|
public Subspace<V> getSubspace()
public BitSet getDimensions()
public 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 |