diff options
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java')
-rw-r--r-- | src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java b/src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java index 8b875340..f57a66e3 100644 --- a/src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java +++ b/src/de/lmu/ifi/dbs/elki/algorithm/clustering/biclustering/AbstractBiclustering.java @@ -4,7 +4,7 @@ package de.lmu.ifi.dbs.elki.algorithm.clustering.biclustering; This file is part of ELKI: Environment for Developing KDD-Applications Supported by Index-Structures - Copyright (C) 2013 + Copyright (C) 2014 Ludwig-Maximilians-Universität München Lehr- und Forschungseinheit für Datenbanksysteme ELKI Development Team @@ -58,7 +58,7 @@ import de.lmu.ifi.dbs.elki.utilities.exceptions.ExceptionMessages; * columns relate to the attribute values of these objects * @param <M> Cluster model type */ -public abstract class AbstractBiclustering<V extends NumberVector<?>, M extends BiclusterModel> extends AbstractAlgorithm<Clustering<M>> implements ClusteringAlgorithm<Clustering<M>> { +public abstract class AbstractBiclustering<V extends NumberVector, M extends BiclusterModel> extends AbstractAlgorithm<Clustering<M>> implements ClusteringAlgorithm<Clustering<M>> { /** * Keeps the currently set database. */ @@ -218,7 +218,7 @@ public abstract class AbstractBiclustering<V extends NumberVector<?>, M extends * @return integer column ids */ protected int[] colsBitsetToIDs(long[] cols) { - int[] colIDs = new int[(int) BitsUtil.cardinality(cols)]; + int[] colIDs = new int[BitsUtil.cardinality(cols)]; int colsIndex = 0; for (int cpos = 0, clpos = 0; clpos < cols.length; ++clpos) { long clong = cols[clpos]; @@ -243,7 +243,7 @@ public abstract class AbstractBiclustering<V extends NumberVector<?>, M extends * @return integer row ids */ protected ArrayDBIDs rowsBitsetToIDs(long[] rows) { - ArrayModifiableDBIDs rowIDs = DBIDUtil.newArray((int) BitsUtil.cardinality(rows)); + ArrayModifiableDBIDs rowIDs = DBIDUtil.newArray(BitsUtil.cardinality(rows)); DBIDArrayIter iter = this.rowIDs.iter(); outer: for (int rlpos = 0; rlpos < rows.length; ++rlpos) { long rlong = rows[rlpos]; @@ -265,7 +265,7 @@ public abstract class AbstractBiclustering<V extends NumberVector<?>, M extends } /** - * Provides the number of rows of the data matrix. + * The number of rows of the data matrix. * * @return the number of rows of the data matrix */ @@ -274,7 +274,7 @@ public abstract class AbstractBiclustering<V extends NumberVector<?>, M extends } /** - * Provides the number of columns of the data matrix. + * The number of columns of the data matrix. * * @return the number of columns of the data matrix */ |