MetricKnn API
Fast Similarity Search using the Metric Space Approach
mknn_general_domain.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_GENERAL_DOMAIN_H_
10 #define MKNN_GENERAL_DOMAIN_H_
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #include "../metricknn_c.h"
17 
29 
36 
42 
48 
55 bool mknn_generalDomain_areEqual(const MknnGeneralDomain general_domain1,
56  const MknnGeneralDomain general_domain2);
57 
58 bool mknn_generalDomain_isString(const MknnGeneralDomain general_domain);
59 bool mknn_generalDomain_isVector(const MknnGeneralDomain general_domain);
60 bool mknn_generalDomain_isMultiObject(const MknnGeneralDomain general_domain);
61 bool mknn_generalDomain_isCustom(const MknnGeneralDomain general_domain);
62 
68 const char *mknn_generalDomain_toString(const MknnGeneralDomain general_domain);
69 
81 bool mknn_generalDomain_parseString(const char *string,
82  MknnGeneralDomain *out_general_domain);
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif
MknnGeneralDomain MKNN_GENERAL_DOMAIN_MULTIOBJECT
General Domain of Multi-Object.
Definition: datatype.c:13
MknnGeneralDomain MKNN_GENERAL_DOMAIN_STRING
General Domain of Strings.
Definition: datatype.c:11
MknnGeneralDomain MKNN_GENERAL_DOMAIN_VECTOR
General Domain of Vectors.
Definition: datatype.c:12
bool mknn_generalDomain_parseString(const char *string, MknnGeneralDomain *out_general_domain)
Definition: datatype.c:64
bool mknn_generalDomain_areEqual(const MknnGeneralDomain general_domain1, const MknnGeneralDomain general_domain2)
Returns if two domains are identical.
Definition: datatype.c:21
const char * mknn_generalDomain_toString(const MknnGeneralDomain general_domain)
Definition: datatype.c:46
Represents a broad type of objects, like strings, vectors, etc.
Definition: metricknn_c.h:28
MknnGeneralDomain MKNN_GENERAL_DOMAIN_CUSTOMOBJECT
General Domain of Custom Objects.
Definition: datatype.c:14
Powered by Download MetricKnn