MetricKnn API
Fast Similarity Search using the Metric Space Approach
mknn_printer.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_PRINTER_H_
10 #define MKNN_PRINTER_H_
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 #include "../metricknn_c.h"
17 
31 
38 char *mknn_printer_objectToNewString(MknnPrinter *printer, void *object);
39 
49  const char *vector_prefix, const char *dimension_separator,
50  const char *vector_suffix);
51 
60 void mknn_printer_setMultiobjectFormat(MknnPrinter *printer, const char *prefix,
61  const char *separator, const char *suffix);
62 
68 void mknn_printer_release(MknnPrinter *printer);
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif
void mknn_printer_release(MknnPrinter *printer)
Releases the printer.
Definition: printer.c:125
void mknn_printer_setVectorFormat(MknnPrinter *printer, const char *vector_prefix, const char *dimension_separator, const char *vector_suffix)
Changes the format for objects of the general domain vector.
Definition: printer.c:96
char * mknn_printer_objectToNewString(MknnPrinter *printer, void *object)
Creates a new string.
Definition: printer.c:79
Definition: printer.c:11
MknnPrinter * mknn_printer_new(MknnDomain *domain)
Creates an empty object.
Definition: printer.c:25
void mknn_printer_setMultiobjectFormat(MknnPrinter *printer, const char *prefix, const char *separator, const char *suffix)
Changes the format for objects of the general domain multiobject.
Definition: printer.c:114
Definition: domain.c:11
Powered by Download MetricKnn