JASSv2
posting.h
Go to the documentation of this file.
1 /*
2  POSTING.H
3  ---------
4  Copyright (c) 2019 Andrew Trotman
5  Released under the 2-clause BSD license (See:https://en.wikipedia.org/wiki/BSD_licenses)
6 */
15 #pragma once
16 
17 #include"compress_integer.h"
18 
19 namespace JASS
20  {
21  /*
22  CLASS POSTING
23  -------------
24  */
28  class posting
29  {
30  public:
33  public:
34  posting() :
35  docid(0),
36  term_frequency(0)
37  {
38  /*
39  Nothing
40  */
41  }
42  } ;
43  }
A <docid, tf> tuple.
Definition: posting.h:28
uint32_t integer
This class and descendants will work on integers of this size. Do not change without also changing JA...
Definition: compress_integer.h:40
Compression codexes for integer sequences.
compress_integer::integer docid
The Document identifier.
Definition: posting.h:31
Definition: compress_integer_elias_delta_simd.c:23
compress_integer::integer term_frequency
The number of times the term occurs in document with id docid.
Definition: posting.h:32