Entity Matching by Similarity Join
 
Loading...
Searching...
No Matches
GroupInterchangeable Class Reference

#include <group.h>

Public Member Functions

 GroupInterchangeable ()=default
 
 GroupInterchangeable (int _totalTable, int _totalAttr, const std::vector< std::string > &_attrVec)
 
 ~GroupInterchangeable ()=default
 
 GroupInterchangeable (const GroupInterchangeable &other)=delete
 
 GroupInterchangeable (GroupInterchangeable &&other)=delete
 
int calNumFeature (const std::string attr)
 
int calCahceIndex (const std::string &func, const std::string &tok, int numFeature)
 
int calAttrIndex (const std::string &attr)
 
void globalInit (const std::vector< int > &keyNum, const std::vector< std::string > &attrs, Groups &groups, const GroupTokens &grpdlm, const GroupTokens &grpqgm)
 
void IO ()
 
void buildIndex (const Table &tableA, const Table &tableB)
 
void releaseBuffer ()
 

Public Attributes

int totalTable {0}
 
int totalAttr {0}
 
std::vector< std::string > attrVec
 
std::vector< int > featureLength
 
Groups group
 
Clusters cluster
 
GroupTokens groupTokensDlm
 
GroupTokens groupTokensQgm
 
std::vector< std::vector< std::vector< int > > > interCGroupsA
 
std::vector< std::vector< std::vector< int > > > interCGroupsB
 
std::vector< std::vector< int > > interCGrpIdA
 
std::vector< std::vector< int > > interCGrpIdB
 
std::vector< int > keyLength
 
double **** featureValCache {nullptr}
 
int ** discreteCacheIdx {nullptr}
 
std::vector< int > attrCahceLength
 
std::vector< std::string > str_gt_10w = {"name", "title", "description"}
 
std::vector< std::string > str_bt_1w_5w = {}
 
std::vector< std::string > str_bt_5w_10w = {}
 
std::vector< std::string > str_eq_1w = {"brand", "category"}
 

Constructor & Destructor Documentation

◆ GroupInterchangeable() [1/4]

GroupInterchangeable::GroupInterchangeable ( )
default

◆ GroupInterchangeable() [2/4]

GroupInterchangeable::GroupInterchangeable ( int _totalTable,
int _totalAttr,
const std::vector< std::string > & _attrVec )
inline

◆ ~GroupInterchangeable()

GroupInterchangeable::~GroupInterchangeable ( )
default

◆ GroupInterchangeable() [3/4]

GroupInterchangeable::GroupInterchangeable ( const GroupInterchangeable & other)
delete

◆ GroupInterchangeable() [4/4]

GroupInterchangeable::GroupInterchangeable ( GroupInterchangeable && other)
delete

Member Function Documentation

◆ buildIndex()

void GroupInterchangeable::buildIndex ( const Table & tableA,
const Table & tableB )
inline

◆ calAttrIndex()

int GroupInterchangeable::calAttrIndex ( const std::string & attr)
inline

◆ calCahceIndex()

int GroupInterchangeable::calCahceIndex ( const std::string & func,
const std::string & tok,
int numFeature )
inline

◆ calNumFeature()

int GroupInterchangeable::calNumFeature ( const std::string attr)
inline

◆ globalInit()

void GroupInterchangeable::globalInit ( const std::vector< int > & keyNum,
const std::vector< std::string > & attrs,
Groups & groups,
const GroupTokens & grpdlm,
const GroupTokens & grpqgm )
inline

◆ IO()

void GroupInterchangeable::IO ( )
inline

◆ releaseBuffer()

void GroupInterchangeable::releaseBuffer ( )
inline

Member Data Documentation

◆ attrCahceLength

std::vector<int> GroupInterchangeable::attrCahceLength

◆ attrVec

std::vector<std::string> GroupInterchangeable::attrVec

◆ cluster

Clusters GroupInterchangeable::cluster

◆ discreteCacheIdx

int** GroupInterchangeable::discreteCacheIdx {nullptr}

◆ featureLength

std::vector<int> GroupInterchangeable::featureLength

◆ featureValCache

double**** GroupInterchangeable::featureValCache {nullptr}

◆ group

Groups GroupInterchangeable::group

◆ groupTokensDlm

GroupTokens GroupInterchangeable::groupTokensDlm

◆ groupTokensQgm

GroupTokens GroupInterchangeable::groupTokensQgm

◆ interCGroupsA

std::vector<std::vector<std::vector<int> > > GroupInterchangeable::interCGroupsA

◆ interCGroupsB

std::vector<std::vector<std::vector<int> > > GroupInterchangeable::interCGroupsB

◆ interCGrpIdA

std::vector<std::vector<int> > GroupInterchangeable::interCGrpIdA

◆ interCGrpIdB

std::vector<std::vector<int> > GroupInterchangeable::interCGrpIdB

◆ keyLength

std::vector<int> GroupInterchangeable::keyLength

◆ str_bt_1w_5w

std::vector<std::string> GroupInterchangeable::str_bt_1w_5w = {}

◆ str_bt_5w_10w

std::vector<std::string> GroupInterchangeable::str_bt_5w_10w = {}

◆ str_eq_1w

std::vector<std::string> GroupInterchangeable::str_eq_1w = {"brand", "category"}

◆ str_gt_10w

std::vector<std::string> GroupInterchangeable::str_gt_10w = {"name", "title", "description"}

◆ totalAttr

int GroupInterchangeable::totalAttr {0}

◆ totalTable

int GroupInterchangeable::totalTable {0}

The documentation for this class was generated from the following file: