public static class DimensionSimilarityMatrix.PartialDimensionSimilarityMatrix extends DimensionSimilarityMatrix
DimensionSimilarityMatrix.FullDimensionSimilarityMatrix, DimensionSimilarityMatrix.PartialDimensionSimilarityMatrix, DimensionSimilarityMatrix.PrimAdapter
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
dims
Enumeration of dimensions to use (so we could use a subset only!)
|
PRIM_ADAPTER
Constructor and Description |
---|
DimensionSimilarityMatrix.PartialDimensionSimilarityMatrix(int[] dims)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
dim(int idx)
Get the dimension at position idx.
|
int |
size()
Number of dimensions.
|
copyToFullMatrix, get, make, make, set, toString
final int[] dims
public DimensionSimilarityMatrix.PartialDimensionSimilarityMatrix(int[] dims)
dims
- Array of dimensions to process.public int size()
DimensionSimilarityMatrix
size
in class DimensionSimilarityMatrix
public int dim(int idx)
DimensionSimilarityMatrix
dim
in class DimensionSimilarityMatrix
idx
- PositionCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.