use of de.lmu.ifi.dbs.elki.data.model.BiclusterModel in project elki by elki-project.
the class AbstractBiclustering method defineBicluster.
/**
* Defines a Bicluster as given by the included rows and columns.
*
* @param rows the rows included in the Bicluster
* @param cols the columns included in the Bicluster
* @return A Bicluster as given by the included rows and columns
*/
protected Cluster<BiclusterModel> defineBicluster(long[] rows, long[] cols) {
ArrayDBIDs rowIDs = rowsBitsetToIDs(rows);
int[] colIDs = colsBitsetToIDs(cols);
return new Cluster<>(rowIDs, new BiclusterModel(colIDs));
}
use of de.lmu.ifi.dbs.elki.data.model.BiclusterModel in project elki by elki-project.
the class AbstractBiclustering method defineBicluster.
/**
* Defines a Bicluster as given by the included rows and columns.
*
* @param rows the rows included in the Bicluster
* @param cols the columns included in the Bicluster
* @return a Bicluster as given by the included rows and columns
*/
protected Cluster<BiclusterModel> defineBicluster(BitSet rows, BitSet cols) {
ArrayDBIDs rowIDs = rowsBitsetToIDs(rows);
int[] colIDs = colsBitsetToIDs(cols);
return new Cluster<>(rowIDs, new BiclusterModel(colIDs));
}
Aggregations