35 return this->
val > rhs.
val;
53 return this->
val < rhs.
val;
67 std::vector<std::vector<unsigned int>> *
parts_rids{
nullptr};
68 std::vector<std::vector<unsigned int>> *
ods_rids{
nullptr};
99 PIndex(
int _s,
int _o,
int _p,
int _l)
112 hashValue(
int in_id,
int in_stPos,
int in_enPos, uint64_t in_value)
114 hashValue(
int in_id,
int in_stPos,
int in_enPos,
const std::string &str)
120 void update(
int newid,
int newStPos,
int newEnPos,
const std::string &str,
131 if (newStPos ==
stPos + 1) {
135 if (newEnPos ==
enPos + 1) {
160 DSU(
int _size):
fa(_size) { std::iota(
fa.begin(),
fa.end(), 0); }
constexpr size_t stringHashNumber
Definition config.h:57
DSU(int _size)
Definition index.h:160
int find(int x)
Definition index.h:162
void unite(int x, int y)
Definition index.h:166
std::vector< int > fa
Definition index.h:158
PIndex(int _s, int _o, int _p, int _l)
Definition index.h:99
int partLen
Definition index.h:95
int stPos
Definition index.h:93
int len
Definition index.h:96
int Lo
Definition index.h:94
std::vector< std::vector< unsigned int > > * parts_rids
Definition index.h:67
std::vector< std::vector< unsigned int > > * od_index_offset
Definition index.h:74
std::vector< std::vector< TokenLen > > * parts_index_cnt
Definition index.h:77
std::vector< std::vector< TokenLen > > * od_index_cnt
Definition index.h:78
std::vector< std::vector< unsigned int > > * ods_rids
Definition index.h:68
~SetJoinParelledIndex()=default
SetJoinParelledIndex(SetJoinParelledIndex &&other)=delete
std::vector< std::vector< unsigned int > > * od_index_hv
Definition index.h:72
std::vector< std::vector< unsigned int > > * parts_index_offset
Definition index.h:73
std::vector< std::vector< unsigned int > > * parts_index_hv
Definition index.h:71
SetJoinParelledIndex(const SetJoinParelledIndex &other)=delete
SetJoinParelledIndex()=default
bool operator<(const WeightPairEdit &rhs) const
Definition index.h:52
int val
Definition index.h:43
WeightPairEdit(int _id1, int _id2, int _val)
Definition index.h:46
int id1
Definition index.h:41
int id2
Definition index.h:42
bool operator<(const WeightPair &rhs) const
Definition index.h:34
int id1
Definition index.h:23
WeightPair(int _id1, int _id2, double _val)
Definition index.h:28
int id2
Definition index.h:24
double val
Definition index.h:25
hashValue()
Definition index.h:111
int stPos
Definition index.h:107
hashValue(int in_id, int in_stPos, int in_enPos, const std::string &str)
Definition index.h:114
void update(int newid, int newStPos, int newEnPos, const std::string &str, uint64_t *power)
Definition index.h:120
int id
Definition index.h:106
uint64_t strHash(const std::string &str, int stPos, int len)
Definition index.h:143
uint64_t value
Definition index.h:109
hashValue(int in_id, int in_stPos, int in_enPos, uint64_t in_value)
Definition index.h:112
int enPos
Definition index.h:108