|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.logging.AbstractLoggable de.lmu.ifi.dbs.elki.algorithm.result.clustering.biclustering.Bicluster<V>
V
- the type of RealVector handled by this Resultpublic class Bicluster<V extends RealVector<V,Double>>
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 bilcuster is defined for. |
private int[] |
invertedRows
The ids of inverted rows. |
private Result<V> |
model
The underlying bicluster model. |
private int[] |
rowIDs
The ids of the rows included in the bicluster. |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug |
Constructor Summary | |
---|---|
Bicluster(int[] rowIDs,
int[] colIDs,
Database<V> database)
Defines a new bicluster for given parameters. |
Method Summary | |
---|---|
void |
appendModel(Result<V> model)
Associates the given model with this bicluster. |
List<String> |
headerInformation()
Returns a list containing header information for printed outputs. |
Result<V> |
model()
Returns the model associated with this bicluster. |
Iterator<V> |
rowIterator()
Provides an iterator for the row ids. |
void |
setInvertedRows(int[] invertedRows)
Sets the ids of the inverted rows. |
int |
size()
The size of the cluster. |
void |
sortIDs()
Sorts the row and column ids (and - if applicable - the ids of inverted rows) in ascending order. |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
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 int[] invertedRows
private Database<V extends RealVector<V,Double>> database
private Result<V extends RealVector<V,Double>> model
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 rows included in the biclusterdatabase
- the database this bilcuster is defined forMethod Detail |
---|
public void setInvertedRows(int[] invertedRows)
invertedRows
- the ids of the inverted rowspublic void sortIDs()
public int size()
public Result<V> model()
public void appendModel(Result<V> model)
model
- the model to associate with this biclusterpublic Iterator<V> rowIterator()
sortIDs()
is called during the lifetime of the iterator.
public List<String> headerInformation()
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |