|
|
|||||||||
| 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>
V - the type of NumberVector handled by this Resultpublic class Bicluster<V extends FeatureVector<?,?>>

Wrapper class to provide the basic properties of a bicluster.
| Field Summary | |
|---|---|
private int[] |
colIDs
The ids of the rows included in the bicluster. |
private Relation<V> |
database
The database this bicluster is defined for. |
private ArrayDBIDs |
rowIDs
The ids of the rows included in the bicluster. |
| Constructor Summary | |
|---|---|
Bicluster(ArrayDBIDs rowIDs,
int[] colIDs,
Relation<V> database)
Defines a new bicluster for given parameters. |
|
Bicluster(int[] rowIDs,
int[] colIDs,
Relation<V> database)
Deprecated. Use DBIDs, not integers! |
|
| Method Summary | |
|---|---|
int[] |
getColumnIDs()
Provides a copy of the column IDs contributing to the bicluster. |
Relation<V> |
getDatabase()
Getter to retrieve the database |
DBIDs |
getDatabaseObjectGroup()
Creates a DBIDs for the row IDs included in this Bicluster. |
Iterator<V> |
rowIterator()
Provides an iterator for the row ids. |
int |
size()
The size of the cluster. |
void |
sortIDs()
Sorts the row and column ids in ascending order. |
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 ArrayDBIDs rowIDs
private int[] colIDs
private Relation<V extends FeatureVector<?,?>> database
| Constructor Detail |
|---|
public Bicluster(ArrayDBIDs rowIDs,
int[] colIDs,
Relation<V> database)
rowIDs - the ids of the rows included in the biclustercolIDs - the ids of the columns included in the biclusterdatabase - the database this bicluster is defined for
@Deprecated
public Bicluster(int[] rowIDs,
int[] colIDs,
Relation<V> database)
rowIDs - the ids of the rows included in the biclustercolIDs - the ids of the columns included in the biclusterdatabase - the database this bicluster is defined for| Method Detail |
|---|
public void sortIDs()
public int size()
public Iterator<V> rowIterator()
sortIDs() is called during the lifetime of the iterator.
public DBIDs getDatabaseObjectGroup()
public Relation<V> getDatabase()
public int[] getColumnIDs()
public void writeToText(TextWriterStream out,
String label)
TextWriteable interface.
writeToText in interface TextWriteableout - Output writerlabel - Label
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||