MetricKnn API
Fast Similarity Search using the Metric Space Approach
mknn_distance_eval.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2015, Juan Manuel Barrios <juanmanuel@barrios.cl>
3  * All rights reserved.
4  *
5  * This file is part of MetricKnn.
6  * MetricKnn is made available under the terms of the BSD 2-Clause License.
7  */
8 
9 #ifndef MKNN_DISTANCE_EVAL_H_
10 #define MKNN_DISTANCE_EVAL_H_
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #include "../metricknn_c.h"
17 
51 double mknn_distanceEval_evalTh(MknnDistanceEval *distance_eval, void *object_left,
52  void *object_right, double current_threshold);
53 
65 double mknn_distanceEval_eval(MknnDistanceEval *distance_eval, void *object_left,
66  void *object_right);
67 
74 
81 
88 
93 void mknn_distanceEval_release(MknnDistanceEval *distance_eval);
94 
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 
100 #endif
void mknn_distanceEval_release(MknnDistanceEval *distance_eval)
Releases the distance eval.
Definition: distance.c:313
Definition: distance.c:17
double mknn_distanceEval_evalTh(MknnDistanceEval *distance_eval, void *object_left, void *object_right, double current_threshold)
Evaluates the distance between object1 and object2.
Definition: distance.c:294
MknnDomain * mknn_distanceEval_getDomainLeft(MknnDistanceEval *distance_eval)
returns the domain declared for the object at the left.
Definition: distance.c:307
MknnDomain * mknn_distanceEval_getDomainRight(MknnDistanceEval *distance_eval)
returns the domain declared for the object at the right.
Definition: distance.c:310
double mknn_distanceEval_eval(MknnDistanceEval *distance_eval, void *object_left, void *object_right)
Evaluates the distance between object1 and object2.
Definition: distance.c:299
Definition: domain.c:11
Definition: distance.c:241
MknnDistance * mknn_distanceEval_getDistance(MknnDistanceEval *distance_eval)
returns the distance declared for the object.
Definition: distance.c:304
Powered by Download MetricKnn