public class VectorApproximation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int[] |
approximation
approximation (va cell ids)
|
protected DBID |
id
Object represented by this approximation
|
| Constructor and Description |
|---|
VectorApproximation(DBID id,
int[] approximation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
byteOnDisk(int numberOfDimensions,
int numberOfPartitions)
Computes IO costs (in bytes) needed for reading the candidates.
|
int |
getApproximation(int dim)
Get the VA approximation
|
int |
getDimensionality()
Get the dimensionality
|
DBID |
getId() |
java.lang.String |
toString() |
int[] approximation
protected DBID id
public VectorApproximation(DBID id, int[] approximation)
id - Object represented (may be null for query objects)approximation - Approximationpublic DBID getId()
public int getDimensionality()
public int getApproximation(int dim)
dim - Dimensionpublic java.lang.String toString()
toString in class java.lang.Objectpublic static int byteOnDisk(int numberOfDimensions,
int numberOfPartitions)
numberOfDimensions - the number of relevant dimensionsnumberOfPartitions - the number of relevant partitionsCopyright © 2019 ELKI Development Team. License information.