JASSv2
source
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
:
31
compress_integer::integer
docid
;
32
compress_integer::integer
term_frequency
;
33
public
:
34
posting
() :
35
docid(0),
36
term_frequency(0)
37
{
38
/*
39
Nothing
40
*/
41
}
42
} ;
43
}
JASS::posting
A <docid, tf> tuple.
Definition:
posting.h:28
JASS::compress_integer::integer
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
compress_integer.h
Compression codexes for integer sequences.
JASS::posting::docid
compress_integer::integer docid
The Document identifier.
Definition:
posting.h:31
JASS
Definition:
compress_integer_elias_delta_simd.c:23
JASS::posting::term_frequency
compress_integer::integer term_frequency
The number of times the term occurs in document with id docid.
Definition:
posting.h:32
Generated by
1.8.13