|
|
|||||||||
| 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.Bicluster<V>
de.lmu.ifi.dbs.elki.data.model.BiclusterWithInverted<V>
V - Vector typepublic class BiclusterWithInverted<V extends FeatureVector<V,?>>

This code was factored out of the Bicluster class, since not all biclusters have inverted rows. TODO: shouldn't that be inverted columns?
| Field Summary | |
|---|---|
private ArrayModifiableDBIDs |
invertedRows
The ids of inverted rows. |
| Constructor Summary | |
|---|---|
BiclusterWithInverted(ArrayDBIDs rowIDs,
int[] colIDs,
Relation<V> database)
|
|
BiclusterWithInverted(int[] rowIDs,
int[] colIDs,
Relation<V> database)
Deprecated. Use DBIDs, not integer indexes! |
|
| Method Summary | |
|---|---|
DBIDs |
getInvertedRows()
Provides a copy of the inverted column IDs. |
void |
setInvertedRows(DBIDs invertedRows)
Sets the ids of the inverted rows. |
void |
sortIDs()
Sorts the row and column ids (and - if applicable - the ids of inverted rows) in ascending order. |
void |
writeToText(TextWriterStream out,
String label)
Implementation of TextWriteable interface. |
| Methods inherited from class de.lmu.ifi.dbs.elki.data.model.Bicluster |
|---|
getColumnIDs, getDatabase, getDatabaseObjectGroup, rowIterator, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ArrayModifiableDBIDs invertedRows
| Constructor Detail |
|---|
public BiclusterWithInverted(ArrayDBIDs rowIDs,
int[] colIDs,
Relation<V> database)
rowIDs - Row IDscolIDs - Col IDsdatabase - Database
@Deprecated
public BiclusterWithInverted(int[] rowIDs,
int[] colIDs,
Relation<V> database)
rowIDs - Row IDscolIDs - Col IDsdatabase - Database| Method Detail |
|---|
public void setInvertedRows(DBIDs invertedRows)
invertedRows - the ids of the inverted rowspublic DBIDs getInvertedRows()
public void sortIDs()
sortIDs in class Bicluster<V extends FeatureVector<V,?>>
public void writeToText(TextWriterStream out,
String label)
TextWriteable interface.
writeToText in interface TextWriteablewriteToText in class Bicluster<V extends FeatureVector<V,?>>out - Output writerlabel - Label
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||