public interface Measure
| Modifier and Type | Field and Description |
|---|---|
static double |
ERROR_VALUE
Value representing an error during measuring
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNativeImplementation()
Know if the measure owns a native implementation
|
double |
measure(double[] a,
double[] b,
boolean[] computable)
Compute the measure between two data vectors
|
boolean |
requireDataTransformation()
Know if the measure need to transform input data (input data are copied to be preserved)
|
void |
transform(double[][] data)
The transformation method called before measurement
|
static final double ERROR_VALUE
double measure(double[] a,
double[] b,
boolean[] computable)
a - The first data vectorb - The second data vectorcomputable - Boolean vector set to true except for indexes they must be ignored during the measurementboolean hasNativeImplementation()
boolean requireDataTransformation()
void transform(double[][] data)
data - An input data vector to be measured