V
- Vector typepublic class BiclusterWithInverted<V extends FeatureVector<?>> extends Bicluster<V>
Modifier and Type | Field and Description |
---|---|
private ArrayModifiableDBIDs |
invertedRows
The ids of inverted rows.
|
Constructor and Description |
---|
BiclusterWithInverted(ArrayDBIDs rowIDs,
int[] colIDs,
Relation<V> database) |
BiclusterWithInverted(int[] rowIDs,
int[] colIDs,
Relation<V> database)
Deprecated.
Use DBIDs, not integer indexes!
|
Modifier and Type | Method and Description |
---|---|
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. |
getColumnIDs, getDatabase, getDatabaseObjectGroup, rowIterator, size
private ArrayModifiableDBIDs invertedRows
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
- Databasepublic void setInvertedRows(DBIDs invertedRows)
invertedRows
- the ids of the inverted rowspublic DBIDs getInvertedRows()
public void sortIDs()
sortIDs
in class Bicluster<V extends FeatureVector<?>>
public void writeToText(TextWriterStream out, String label)
TextWriteable
interface.writeToText
in interface TextWriteable
writeToText
in class Bicluster<V extends FeatureVector<?>>
out
- Output writerlabel
- Label