autogen/include/Lucy/Index/Similarity.h

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 3 / 3 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« autogen/include/Lucy/Index/Posting/ScorePosting.h ↑ Summary autogen/include/Lucy/Object/I32Array.h »
1 /*
2 * ***********************************************
3 *
4 * !!!! DO NOT EDIT !!!!
5 *
6 * This file was auto-generated by Build.PL.
7 *
8 * ***********************************************
9 *
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed with
12 * this work for additional information regarding copyright ownership.
13 * The ASF licenses this file to You under the Apache License, Version 2.0
14 * (the "License"); you may not use this file except in compliance with
15 * the License. You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 */
25  
26  
27 #ifndef H_LUCY_INDEX_SIMILARITY
28 #define H_LUCY_INDEX_SIMILARITY 1
29  
30  
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34  
35 #include "lucy_parcel.h"
36  
37 /* Include the header for this class's parent.
38 */
39  
40 #include "Clownfish/Obj.h"
41  
42 /* Define the struct layout for instances of this class.
43 */
44  
45 #ifdef C_LUCY_SIMILARITY
46 extern uint32_t lucy_Sim_IVARS_OFFSET;
47 typedef struct lucy_SimilarityIVARS lucy_SimilarityIVARS;
48 static CFISH_INLINE lucy_SimilarityIVARS*
49 lucy_Sim_IVARS(lucy_Similarity *self) {
50 char *ptr = (char*)self + lucy_Sim_IVARS_OFFSET;
51 return (lucy_SimilarityIVARS*)ptr;
52 }
53 #ifdef LUCY_USE_SHORT_NAMES
54 #define SimilarityIVARS lucy_SimilarityIVARS
55 #define Sim_IVARS lucy_Sim_IVARS
56 #endif
57  
58 struct lucy_SimilarityIVARS {
59 float* norm_decoder;
60 };
61  
62 #endif /* C_LUCY_SIMILARITY */
63  
64 /* Declare this class's inert variables.
65 */
66  
67  
68  
69 /* Declare both this class's inert functions and the C functions which
70 * implement this class's dynamic methods.
71 */
72  
73 LUCY_VISIBLE lucy_Similarity*
74 lucy_Sim_new(void);
75  
76 LUCY_VISIBLE lucy_Similarity*
77 lucy_Sim_init(lucy_Similarity* self);
78  
79 lucy_Posting*
80 LUCY_Sim_Make_Posting_IMP(lucy_Similarity* self);
81  
82 lucy_PostingWriter*
83 LUCY_Sim_Make_Posting_Writer_IMP(lucy_Similarity* self, lucy_Schema* schema, lucy_Snapshot* snapshot, lucy_Segment* segment, lucy_PolyReader* polyreader, int32_t field_num);
84  
85 float
86 LUCY_Sim_TF_IMP(lucy_Similarity* self, float freq);
87  
88 float
89 LUCY_Sim_IDF_IMP(lucy_Similarity* self, int64_t doc_freq, int64_t total_docs);
90  
91 float
92 LUCY_Sim_Coord_IMP(lucy_Similarity* self, uint32_t overlap, uint32_t max_overlap);
93  
94 float
95 LUCY_Sim_Length_Norm_IMP(lucy_Similarity* self, uint32_t num_tokens);
96  
97 float
98 LUCY_Sim_Query_Norm_IMP(lucy_Similarity* self, float sum_of_squared_weights);
99  
100 uint8_t
101 LUCY_Sim_Encode_Norm_IMP(lucy_Similarity* self, float f);
102  
103 float
104 LUCY_Sim_Decode_Norm_IMP(lucy_Similarity* self, uint32_t input);
105  
106 float*
107 LUCY_Sim_Get_Norm_Decoder_IMP(lucy_Similarity* self);
108  
109 void
110 LUCY_Sim_Destroy_IMP(lucy_Similarity* self);
111  
112 cfish_Obj*
113 LUCY_Sim_Dump_IMP(lucy_Similarity* self);
114  
115 lucy_Similarity*
116 LUCY_Sim_Load_IMP(lucy_Similarity* self, cfish_Obj* dump);
117  
118 bool
119 LUCY_Sim_Equals_IMP(lucy_Similarity* self, cfish_Obj* other);
120  
121 void
122 LUCY_Sim_Serialize_IMP(lucy_Similarity* self, lucy_OutStream* outstream);
123  
124 lucy_Similarity*
125 LUCY_Sim_Deserialize_IMP(lucy_Similarity* self, lucy_InStream* instream);
126  
127  
128  
129 /* Define typedefs for each dynamic method, allowing us to cast generic
130 * pointers to the appropriate function pointer type more cleanly.
131 */
132  
133 typedef void*
134 (*LUCY_Sim_To_Host_t)(lucy_Similarity* self, void* vcache);
135  
136 typedef cfish_Obj*
137 (*LUCY_Sim_Clone_t)(lucy_Similarity* self);
138  
139 typedef bool
140 (*LUCY_Sim_Equals_t)(lucy_Similarity* self, cfish_Obj* other);
141  
142 typedef int32_t
143 (*LUCY_Sim_Compare_To_t)(lucy_Similarity* self, cfish_Obj* other);
144  
145 typedef void
146 (*LUCY_Sim_Destroy_t)(lucy_Similarity* self);
147  
148 typedef cfish_String*
149 (*LUCY_Sim_To_String_t)(lucy_Similarity* self);
150  
151 typedef lucy_Posting*
152 (*LUCY_Sim_Make_Posting_t)(lucy_Similarity* self);
153  
154 typedef lucy_PostingWriter*
155 (*LUCY_Sim_Make_Posting_Writer_t)(lucy_Similarity* self, lucy_Schema* schema, lucy_Snapshot* snapshot, lucy_Segment* segment, lucy_PolyReader* polyreader, int32_t field_num);
156  
157 typedef float
158 (*LUCY_Sim_TF_t)(lucy_Similarity* self, float freq);
159  
160 typedef float
161 (*LUCY_Sim_IDF_t)(lucy_Similarity* self, int64_t doc_freq, int64_t total_docs);
162  
163 typedef float
164 (*LUCY_Sim_Coord_t)(lucy_Similarity* self, uint32_t overlap, uint32_t max_overlap);
165  
166 typedef float
167 (*LUCY_Sim_Length_Norm_t)(lucy_Similarity* self, uint32_t num_tokens);
168  
169 typedef float
170 (*LUCY_Sim_Query_Norm_t)(lucy_Similarity* self, float sum_of_squared_weights);
171  
172 typedef uint8_t
173 (*LUCY_Sim_Encode_Norm_t)(lucy_Similarity* self, float f);
174  
175 typedef float
176 (*LUCY_Sim_Decode_Norm_t)(lucy_Similarity* self, uint32_t input);
177  
178 typedef float*
179 (*LUCY_Sim_Get_Norm_Decoder_t)(lucy_Similarity* self);
180  
181 typedef cfish_Obj*
182 (*LUCY_Sim_Dump_t)(lucy_Similarity* self);
183  
184 typedef lucy_Similarity*
185 (*LUCY_Sim_Load_t)(lucy_Similarity* self, cfish_Obj* dump);
186  
187 typedef void
188 (*LUCY_Sim_Serialize_t)(lucy_Similarity* self, lucy_OutStream* outstream);
189  
190 typedef lucy_Similarity*
191 (*LUCY_Sim_Deserialize_t)(lucy_Similarity* self, lucy_InStream* instream);
192  
193  
194  
195 /* Define type-safe wrappers for inert functions of Obj.
196 */
197  
198 static CFISH_INLINE cfish_Class*
199 lucy_Sim_get_class(lucy_Similarity *self) {
200 return cfish_Obj_get_class((cfish_Obj*)self);
201 }
202  
203 static CFISH_INLINE cfish_String*
204 lucy_Sim_get_class_name(lucy_Similarity *self) {
205 return cfish_Obj_get_class_name((cfish_Obj*)self);
206 }
207  
208 static CFISH_INLINE bool
209 lucy_Sim_is_a(lucy_Similarity *self, cfish_Class *ancestor) {
210 return cfish_Obj_is_a((cfish_Obj*)self, ancestor);
211 }
212  
213  
214 /* Define the inline functions which implement this class's virtual methods.
215 */
216  
217 extern LUCY_VISIBLE uint32_t LUCY_Sim_To_Host_OFFSET;
218 static CFISH_INLINE void*
219 LUCY_Sim_To_Host(lucy_Similarity* self, void* vcache) {
220 const LUCY_Sim_To_Host_t method = (LUCY_Sim_To_Host_t)cfish_obj_method(self, LUCY_Sim_To_Host_OFFSET);
221 return method(self, vcache);
222 }
223  
224 extern LUCY_VISIBLE uint32_t LUCY_Sim_Clone_OFFSET;
225 static CFISH_INLINE cfish_Obj*
226 LUCY_Sim_Clone(lucy_Similarity* self) {
227 const LUCY_Sim_Clone_t method = (LUCY_Sim_Clone_t)cfish_obj_method(self, LUCY_Sim_Clone_OFFSET);
228 return method(self);
229 }
230  
231 extern LUCY_VISIBLE uint32_t LUCY_Sim_Equals_OFFSET;
232 static CFISH_INLINE bool
233 LUCY_Sim_Equals(lucy_Similarity* self, cfish_Obj* other) {
234 const LUCY_Sim_Equals_t method = (LUCY_Sim_Equals_t)cfish_obj_method(self, LUCY_Sim_Equals_OFFSET);
235 return method(self, other);
236 }
237  
238 extern LUCY_VISIBLE uint32_t LUCY_Sim_Compare_To_OFFSET;
239 static CFISH_INLINE int32_t
240 LUCY_Sim_Compare_To(lucy_Similarity* self, cfish_Obj* other) {
241 const LUCY_Sim_Compare_To_t method = (LUCY_Sim_Compare_To_t)cfish_obj_method(self, LUCY_Sim_Compare_To_OFFSET);
242 return method(self, other);
243 }
244  
245 extern LUCY_VISIBLE uint32_t LUCY_Sim_Destroy_OFFSET;
246 static CFISH_INLINE void
247 LUCY_Sim_Destroy(lucy_Similarity* self) {
248 const LUCY_Sim_Destroy_t method = (LUCY_Sim_Destroy_t)cfish_obj_method(self, LUCY_Sim_Destroy_OFFSET);
249 method(self);
250 }
251  
252 extern LUCY_VISIBLE uint32_t LUCY_Sim_To_String_OFFSET;
253 static CFISH_INLINE cfish_String*
254 LUCY_Sim_To_String(lucy_Similarity* self) {
255 const LUCY_Sim_To_String_t method = (LUCY_Sim_To_String_t)cfish_obj_method(self, LUCY_Sim_To_String_OFFSET);
256 return method(self);
257 }
258  
259 extern LUCY_VISIBLE uint32_t LUCY_Sim_Make_Posting_OFFSET;
260 static CFISH_INLINE lucy_Posting*
261 LUCY_Sim_Make_Posting(lucy_Similarity* self) {
262 const LUCY_Sim_Make_Posting_t method = (LUCY_Sim_Make_Posting_t)cfish_obj_method(self, LUCY_Sim_Make_Posting_OFFSET);
263 return method(self);
264 }
265  
266 extern LUCY_VISIBLE uint32_t LUCY_Sim_Make_Posting_Writer_OFFSET;
267 static CFISH_INLINE lucy_PostingWriter*
268 LUCY_Sim_Make_Posting_Writer(lucy_Similarity* self, lucy_Schema* schema, lucy_Snapshot* snapshot, lucy_Segment* segment, lucy_PolyReader* polyreader, int32_t field_num) {
269 const LUCY_Sim_Make_Posting_Writer_t method = (LUCY_Sim_Make_Posting_Writer_t)cfish_obj_method(self, LUCY_Sim_Make_Posting_Writer_OFFSET);
270 return method(self, schema, snapshot, segment, polyreader, field_num);
271 }
272  
273 extern LUCY_VISIBLE uint32_t LUCY_Sim_TF_OFFSET;
274 static CFISH_INLINE float
275 LUCY_Sim_TF(lucy_Similarity* self, float freq) {
276 const LUCY_Sim_TF_t method = (LUCY_Sim_TF_t)cfish_obj_method(self, LUCY_Sim_TF_OFFSET);
277 return method(self, freq);
278 }
279  
280 extern LUCY_VISIBLE uint32_t LUCY_Sim_IDF_OFFSET;
281 static CFISH_INLINE float
282 LUCY_Sim_IDF(lucy_Similarity* self, int64_t doc_freq, int64_t total_docs) {
283 const LUCY_Sim_IDF_t method = (LUCY_Sim_IDF_t)cfish_obj_method(self, LUCY_Sim_IDF_OFFSET);
284 return method(self, doc_freq, total_docs);
285 }
286  
287 extern LUCY_VISIBLE uint32_t LUCY_Sim_Coord_OFFSET;
288 static CFISH_INLINE float
289 LUCY_Sim_Coord(lucy_Similarity* self, uint32_t overlap, uint32_t max_overlap) {
290 const LUCY_Sim_Coord_t method = (LUCY_Sim_Coord_t)cfish_obj_method(self, LUCY_Sim_Coord_OFFSET);
291 return method(self, overlap, max_overlap);
292 }
293  
294 extern LUCY_VISIBLE uint32_t LUCY_Sim_Length_Norm_OFFSET;
295 static CFISH_INLINE float
296 LUCY_Sim_Length_Norm(lucy_Similarity* self, uint32_t num_tokens) {
297 const LUCY_Sim_Length_Norm_t method = (LUCY_Sim_Length_Norm_t)cfish_obj_method(self, LUCY_Sim_Length_Norm_OFFSET);
298 return method(self, num_tokens);
299 }
300  
301 extern LUCY_VISIBLE uint32_t LUCY_Sim_Query_Norm_OFFSET;
302 static CFISH_INLINE float
303 LUCY_Sim_Query_Norm(lucy_Similarity* self, float sum_of_squared_weights) {
304 const LUCY_Sim_Query_Norm_t method = (LUCY_Sim_Query_Norm_t)cfish_obj_method(self, LUCY_Sim_Query_Norm_OFFSET);
305 return method(self, sum_of_squared_weights);
306 }
307  
308 extern LUCY_VISIBLE uint32_t LUCY_Sim_Encode_Norm_OFFSET;
309 static CFISH_INLINE uint8_t
310 LUCY_Sim_Encode_Norm(lucy_Similarity* self, float f) {
311 const LUCY_Sim_Encode_Norm_t method = (LUCY_Sim_Encode_Norm_t)cfish_obj_method(self, LUCY_Sim_Encode_Norm_OFFSET);
312 return method(self, f);
313 }
314  
315 extern LUCY_VISIBLE uint32_t LUCY_Sim_Decode_Norm_OFFSET;
316 static CFISH_INLINE float
317 LUCY_Sim_Decode_Norm(lucy_Similarity* self, uint32_t input) {
318 const LUCY_Sim_Decode_Norm_t method = (LUCY_Sim_Decode_Norm_t)cfish_obj_method(self, LUCY_Sim_Decode_Norm_OFFSET);
319 return method(self, input);
320 }
321  
322 extern LUCY_VISIBLE uint32_t LUCY_Sim_Get_Norm_Decoder_OFFSET;
323 static CFISH_INLINE float*
324 1 LUCY_Sim_Get_Norm_Decoder(lucy_Similarity* self) {
325 1 const LUCY_Sim_Get_Norm_Decoder_t method = (LUCY_Sim_Get_Norm_Decoder_t)cfish_obj_method(self, LUCY_Sim_Get_Norm_Decoder_OFFSET);
326 1 return method(self);
327 }
328  
329 extern LUCY_VISIBLE uint32_t LUCY_Sim_Dump_OFFSET;
330 static CFISH_INLINE cfish_Obj*
331 LUCY_Sim_Dump(lucy_Similarity* self) {
332 const LUCY_Sim_Dump_t method = (LUCY_Sim_Dump_t)cfish_obj_method(self, LUCY_Sim_Dump_OFFSET);
333 return method(self);
334 }
335  
336 extern LUCY_VISIBLE uint32_t LUCY_Sim_Load_OFFSET;
337 static CFISH_INLINE lucy_Similarity*
338 LUCY_Sim_Load(lucy_Similarity* self, cfish_Obj* dump) {
339 const LUCY_Sim_Load_t method = (LUCY_Sim_Load_t)cfish_obj_method(self, LUCY_Sim_Load_OFFSET);
340 return method(self, dump);
341 }
342  
343 extern LUCY_VISIBLE uint32_t LUCY_Sim_Serialize_OFFSET;
344 static CFISH_INLINE void
345 LUCY_Sim_Serialize(lucy_Similarity* self, lucy_OutStream* outstream) {
346 const LUCY_Sim_Serialize_t method = (LUCY_Sim_Serialize_t)cfish_obj_method(self, LUCY_Sim_Serialize_OFFSET);
347 method(self, outstream);
348 }
349  
350 extern LUCY_VISIBLE uint32_t LUCY_Sim_Deserialize_OFFSET;
351 static CFISH_INLINE lucy_Similarity*
352 LUCY_Sim_Deserialize(lucy_Similarity* self, lucy_InStream* instream) {
353 const LUCY_Sim_Deserialize_t method = (LUCY_Sim_Deserialize_t)cfish_obj_method(self, LUCY_Sim_Deserialize_OFFSET);
354 return method(self, instream);
355 }
356  
357  
358  
359 /* Declare callbacks for wrapping host overrides.
360 */
361  
362 #ifdef CFISH_NO_DYNAMIC_OVERRIDES
363 #define Lucy_Sim_Make_Posting_OVERRIDE NULL
364 #define Lucy_Sim_Make_Posting_Writer_OVERRIDE NULL
365 #define Lucy_Sim_TF_OVERRIDE NULL
366 #define Lucy_Sim_IDF_OVERRIDE NULL
367 #define Lucy_Sim_Coord_OVERRIDE NULL
368 #define Lucy_Sim_Length_Norm_OVERRIDE NULL
369 #define Lucy_Sim_Query_Norm_OVERRIDE NULL
370 #define Lucy_Sim_Encode_Norm_OVERRIDE NULL
371 #define Lucy_Sim_Decode_Norm_OVERRIDE NULL
372 #define Lucy_Sim_Get_Norm_Decoder_OVERRIDE NULL
373 #define Lucy_Sim_Dump_OVERRIDE NULL
374 #define Lucy_Sim_Load_OVERRIDE NULL
375 #define Lucy_Sim_Serialize_OVERRIDE NULL
376 #define Lucy_Sim_Deserialize_OVERRIDE NULL
377 #else
378 lucy_Posting*
379 Lucy_Sim_Make_Posting_OVERRIDE(lucy_Similarity* self);
380 lucy_PostingWriter*
381 Lucy_Sim_Make_Posting_Writer_OVERRIDE(lucy_Similarity* self, lucy_Schema* schema, lucy_Snapshot* snapshot, lucy_Segment* segment, lucy_PolyReader* polyreader, int32_t field_num);
382 float
383 Lucy_Sim_TF_OVERRIDE(lucy_Similarity* self, float freq);
384 float
385 Lucy_Sim_IDF_OVERRIDE(lucy_Similarity* self, int64_t doc_freq, int64_t total_docs);
386 float
387 Lucy_Sim_Coord_OVERRIDE(lucy_Similarity* self, uint32_t overlap, uint32_t max_overlap);
388 float
389 Lucy_Sim_Length_Norm_OVERRIDE(lucy_Similarity* self, uint32_t num_tokens);
390 float
391 Lucy_Sim_Query_Norm_OVERRIDE(lucy_Similarity* self, float sum_of_squared_weights);
392 uint8_t
393 Lucy_Sim_Encode_Norm_OVERRIDE(lucy_Similarity* self, float f);
394 float
395 Lucy_Sim_Decode_Norm_OVERRIDE(lucy_Similarity* self, uint32_t input);
396 float*
397 Lucy_Sim_Get_Norm_Decoder_OVERRIDE(lucy_Similarity* self);
398 cfish_Obj*
399 Lucy_Sim_Dump_OVERRIDE(lucy_Similarity* self);
400 lucy_Similarity*
401 Lucy_Sim_Load_OVERRIDE(lucy_Similarity* self, cfish_Obj* dump);
402 void
403 Lucy_Sim_Serialize_OVERRIDE(lucy_Similarity* self, lucy_OutStream* outstream);
404 lucy_Similarity*
405 Lucy_Sim_Deserialize_OVERRIDE(lucy_Similarity* self, lucy_InStream* instream);
406 #endif
407  
408  
409 /* Define "short names" for this class's symbols.
410 */
411  
412 #ifdef LUCY_USE_SHORT_NAMES
413 #define Similarity lucy_Similarity
414 #define SIMILARITY LUCY_SIMILARITY
415 #define Sim_new lucy_Sim_new
416 #define Sim_init lucy_Sim_init
417 #define Sim_get_class lucy_Sim_get_class
418 #define Sim_get_class_name lucy_Sim_get_class_name
419 #define Sim_is_a lucy_Sim_is_a
420 #define Sim_Make_Posting_IMP LUCY_Sim_Make_Posting_IMP
421 #define Sim_Make_Posting_Writer_IMP LUCY_Sim_Make_Posting_Writer_IMP
422 #define Sim_TF_IMP LUCY_Sim_TF_IMP
423 #define Sim_IDF_IMP LUCY_Sim_IDF_IMP
424 #define Sim_Coord_IMP LUCY_Sim_Coord_IMP
425 #define Sim_Length_Norm_IMP LUCY_Sim_Length_Norm_IMP
426 #define Sim_Query_Norm_IMP LUCY_Sim_Query_Norm_IMP
427 #define Sim_Encode_Norm_IMP LUCY_Sim_Encode_Norm_IMP
428 #define Sim_Decode_Norm_IMP LUCY_Sim_Decode_Norm_IMP
429 #define Sim_Get_Norm_Decoder_IMP LUCY_Sim_Get_Norm_Decoder_IMP
430 #define Sim_Destroy_IMP LUCY_Sim_Destroy_IMP
431 #define Sim_Dump_IMP LUCY_Sim_Dump_IMP
432 #define Sim_Load_IMP LUCY_Sim_Load_IMP
433 #define Sim_Equals_IMP LUCY_Sim_Equals_IMP
434 #define Sim_Serialize_IMP LUCY_Sim_Serialize_IMP
435 #define Sim_Deserialize_IMP LUCY_Sim_Deserialize_IMP
436 #define Sim_To_Host LUCY_Sim_To_Host
437 #define Sim_To_Host_t LUCY_Sim_To_Host_t
438 #define Sim_Clone LUCY_Sim_Clone
439 #define Sim_Clone_t LUCY_Sim_Clone_t
440 #define Sim_Equals LUCY_Sim_Equals
441 #define Sim_Equals_t LUCY_Sim_Equals_t
442 #define Sim_Compare_To LUCY_Sim_Compare_To
443 #define Sim_Compare_To_t LUCY_Sim_Compare_To_t
444 #define Sim_Destroy LUCY_Sim_Destroy
445 #define Sim_Destroy_t LUCY_Sim_Destroy_t
446 #define Sim_To_String LUCY_Sim_To_String
447 #define Sim_To_String_t LUCY_Sim_To_String_t
448 #define Sim_Make_Posting LUCY_Sim_Make_Posting
449 #define Sim_Make_Posting_t LUCY_Sim_Make_Posting_t
450 #define Sim_Make_Posting_Writer LUCY_Sim_Make_Posting_Writer
451 #define Sim_Make_Posting_Writer_t LUCY_Sim_Make_Posting_Writer_t
452 #define Sim_TF LUCY_Sim_TF
453 #define Sim_TF_t LUCY_Sim_TF_t
454 #define Sim_IDF LUCY_Sim_IDF
455 #define Sim_IDF_t LUCY_Sim_IDF_t
456 #define Sim_Coord LUCY_Sim_Coord
457 #define Sim_Coord_t LUCY_Sim_Coord_t
458 #define Sim_Length_Norm LUCY_Sim_Length_Norm
459 #define Sim_Length_Norm_t LUCY_Sim_Length_Norm_t
460 #define Sim_Query_Norm LUCY_Sim_Query_Norm
461 #define Sim_Query_Norm_t LUCY_Sim_Query_Norm_t
462 #define Sim_Encode_Norm LUCY_Sim_Encode_Norm
463 #define Sim_Encode_Norm_t LUCY_Sim_Encode_Norm_t
464 #define Sim_Decode_Norm LUCY_Sim_Decode_Norm
465 #define Sim_Decode_Norm_t LUCY_Sim_Decode_Norm_t
466 #define Sim_Get_Norm_Decoder LUCY_Sim_Get_Norm_Decoder
467 #define Sim_Get_Norm_Decoder_t LUCY_Sim_Get_Norm_Decoder_t
468 #define Sim_Dump LUCY_Sim_Dump
469 #define Sim_Dump_t LUCY_Sim_Dump_t
470 #define Sim_Load LUCY_Sim_Load
471 #define Sim_Load_t LUCY_Sim_Load_t
472 #define Sim_Serialize LUCY_Sim_Serialize
473 #define Sim_Serialize_t LUCY_Sim_Serialize_t
474 #define Sim_Deserialize LUCY_Sim_Deserialize
475 #define Sim_Deserialize_t LUCY_Sim_Deserialize_t
476 #endif /* LUCY_USE_SHORT_NAMES */
477  
478  
479  
480  
481  
482 #ifdef __cplusplus
483 }
484 #endif
485  
486 #endif /* H_LUCY_INDEX_SIMILARITY */
487  
488  
489  
490  
« autogen/include/Lucy/Index/Posting/ScorePosting.h ↑ Summary autogen/include/Lucy/Object/I32Array.h »