|
|
|||||||||||||||||||||
| 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<V,?>>
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 Database<V> |
database
The database this bicluster is defined for. |
private int[] |
rowIDs
The ids of the rows included in the bicluster. |
| Constructor Summary | |
|---|---|
Bicluster(int[] rowIDs,
int[] colIDs,
Database<V> database)
Defines a new bicluster for given parameters. |
|
| Method Summary | |
|---|---|
int[] |
getColumnIDs()
Provides a copy of the column IDs contributing to the bicluster. |
Database<V> |
getDatabase()
Getter to retrieve the database |
DatabaseObjectGroup |
getDatabaseObjectGroup()
Creates a DatabaseObjectGroup 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 int[] rowIDs
private int[] colIDs
private Database<V extends FeatureVector<V,?>> database
| Constructor Detail |
|---|
public Bicluster(int[] rowIDs,
int[] colIDs,
Database<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 DatabaseObjectGroup getDatabaseObjectGroup()
public Database<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 | |||||||||||