| Modifier and Type | Method and Description |
|---|---|
FIEnums.DistanceTypes |
LookupParams.getDist()
Retrieves teh distance measure
|
static FIEnums.DistanceTypes |
FIEnums.DistanceTypes.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FIEnums.DistanceTypes[] |
FIEnums.DistanceTypes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
DistanceCalculation.distance(float[] vector1,
float[] vector2,
float threshold,
FIEnums.DistanceTypes distanceMeasure)
Distance function
|
static float |
DistanceCalculation.distance(float[] vector1,
float[] vector2,
float threshold,
FIEnums.DistanceTypes distanceMeasure,
float[] weights)
Distance function
|
void |
LookupParams.setDist(FIEnums.DistanceTypes dist)
Sets the distance measure
|
| Constructor and Description |
|---|
LookupParams(FIEnums.AlgoType algo,
FIEnums.DistanceTypes dist,
boolean weighted)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
FIEnums.DistanceTypes |
FullScanParams.getDistanceMeasure()
Retrieves the distance measure
|
| Modifier and Type | Method and Description |
|---|---|
void |
FullScanParams.setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
Sets the distance measure
|
| Constructor and Description |
|---|
FullScanParams(String feature,
FIEnums.DistanceTypes distance)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
FIEnums.DistanceTypes |
VAFileParams.getDistanceMeasure()
Property getter
|
| Modifier and Type | Method and Description |
|---|---|
void |
VAFileParams.setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
Property setter
|
| Constructor and Description |
|---|
VAFileParams(String feature,
FIEnums.DistanceTypes distance,
String indexID,
String storage,
String indexName,
short bits,
int IDLength,
int vectorLength,
boolean weighted)
Creates a new instance
|
Copyright © 2014. All Rights Reserved.