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

#include <topk.h>

Public Member Functions

 TopK ()=default
 
 ~TopK ()=default
 
 TopK (const TopK &other)=delete
 
 TopK (TopK &&other)=delete
 
void topKviaTATable (const Table &matchRes, uint64_t K, std::vector< std::vector< std::string > > &newTable)
 

Static Public Member Functions

static void topKviaTASelf (const Table &table_A, const std::string &topKattr, const std::string &attrType, const std::vector< std::vector< std::vector< ui > > > &recordsA, const std::vector< std::vector< double > > &recWeights, const std::vector< std::vector< double > > &wordwt, const std::unordered_map< std::string, ui > &datasets_map, const std::vector< std::vector< ui > > &id_mapA, std::vector< std::vector< int > > &final_pairs, const Table &groundTruth, uint64_t K, std::ofstream &statStream, bool ifWeighted=false, const std::string &mode="exp")
 
static void topKviaTARS (const Table &table_A, const Table &table_B, const std::string &topKattr, const std::string &attrType, const std::vector< std::vector< std::vector< ui > > > &recordsA, const std::vector< std::vector< std::vector< ui > > > &recordsB, const std::vector< std::vector< double > > &recWeightsA, const std::vector< std::vector< double > > &recWeightsB, const std::vector< std::vector< double > > &wordwt, const std::unordered_map< std::string, ui > &datasets_map, const std::vector< std::vector< ui > > &id_mapA, const std::vector< std::vector< ui > > &id_mapB, std::vector< std::vector< int > > &final_pairs, const Table &groundTruth, uint64_t K, std::ofstream &statStream, bool ifWeighted=false, const std::string &mode="exp")
 
static void topKviaTASelfOpt (const Table &table_A, const std::string &topKattr, const std::string &attrType, const std::vector< std::vector< std::vector< ui > > > &recordsA, const std::unordered_map< std::string, ui > &datasets_map, const std::vector< std::vector< ui > > &id_mapA, std::vector< std::vector< int > > &final_pairs, uint64_t K)
 
static void topKviaAllSimilarityScoresRS (const Table &table_A, const Table &table_B, const Rule *rules, const std::vector< double > &simWeights, const std::unordered_map< std::string, double > &attrAverage, const std::vector< std::vector< std::vector< ui > > > &recordsA, const std::vector< std::vector< std::vector< ui > > > &recordsB, const std::vector< std::vector< double > > &recWeightsA, const std::vector< std::vector< double > > &recWeightsB, const std::vector< std::vector< double > > &wordwt, const std::unordered_map< std::string, ui > &datasets_map, const std::vector< std::vector< ui > > &id_mapA, const std::vector< std::vector< ui > > &id_mapB, const std::vector< std::vector< ui > > &id_mapAString, const std::vector< std::vector< ui > > &id_mapBString, std::vector< std::vector< int > > &final_pairs, const Table &groundTruth, uint64_t K, ui numRule, std::ofstream &statStream, bool isWeighted=false, const std::string &mode="exp")
 
static void topKviaAllSimilarityScoreSelf (const Table &table_A, const Rule *rules, const std::vector< double > &simWeights, const std::unordered_map< std::string, double > &attrAverage, const std::vector< std::vector< std::vector< ui > > > &records, const std::vector< std::vector< double > > &recWeights, const std::vector< std::vector< double > > &wordwt, const std::unordered_map< std::string, ui > &datasets_map, const std::vector< std::vector< ui > > &id_map, const std::vector< std::vector< ui > > &id_mapString, std::vector< std::vector< int > > &final_pairs, const Table &groundTruth, u_int64_t K, ui numRule, std::ofstream &statStream, bool isWeighted=false, const std::string &mode="exp")
 

Constructor & Destructor Documentation

◆ TopK() [1/3]

TopK::TopK ( )
default

◆ ~TopK()

TopK::~TopK ( )
default

◆ TopK() [2/3]

TopK::TopK ( const TopK & other)
delete

◆ TopK() [3/3]

TopK::TopK ( TopK && other)
delete

Member Function Documentation

◆ topKviaAllSimilarityScoreSelf()

void TopK::topKviaAllSimilarityScoreSelf ( const Table & table_A,
const Rule * rules,
const std::vector< double > & simWeights,
const std::unordered_map< std::string, double > & attrAverage,
const std::vector< std::vector< std::vector< ui > > > & records,
const std::vector< std::vector< double > > & recWeights,
const std::vector< std::vector< double > > & wordwt,
const std::unordered_map< std::string, ui > & datasets_map,
const std::vector< std::vector< ui > > & id_map,
const std::vector< std::vector< ui > > & id_mapString,
std::vector< std::vector< int > > & final_pairs,
const Table & groundTruth,
u_int64_t K,
ui numRule,
std::ofstream & statStream,
bool isWeighted = false,
const std::string & mode = "exp" )
static

◆ topKviaAllSimilarityScoresRS()

void TopK::topKviaAllSimilarityScoresRS ( const Table & table_A,
const Table & table_B,
const Rule * rules,
const std::vector< double > & simWeights,
const std::unordered_map< std::string, double > & attrAverage,
const std::vector< std::vector< std::vector< ui > > > & recordsA,
const std::vector< std::vector< std::vector< ui > > > & recordsB,
const std::vector< std::vector< double > > & recWeightsA,
const std::vector< std::vector< double > > & recWeightsB,
const std::vector< std::vector< double > > & wordwt,
const std::unordered_map< std::string, ui > & datasets_map,
const std::vector< std::vector< ui > > & id_mapA,
const std::vector< std::vector< ui > > & id_mapB,
const std::vector< std::vector< ui > > & id_mapAString,
const std::vector< std::vector< ui > > & id_mapBString,
std::vector< std::vector< int > > & final_pairs,
const Table & groundTruth,
uint64_t K,
ui numRule,
std::ofstream & statStream,
bool isWeighted = false,
const std::string & mode = "exp" )
static

◆ topKviaTARS()

void TopK::topKviaTARS ( const Table & table_A,
const Table & table_B,
const std::string & topKattr,
const std::string & attrType,
const std::vector< std::vector< std::vector< ui > > > & recordsA,
const std::vector< std::vector< std::vector< ui > > > & recordsB,
const std::vector< std::vector< double > > & recWeightsA,
const std::vector< std::vector< double > > & recWeightsB,
const std::vector< std::vector< double > > & wordwt,
const std::unordered_map< std::string, ui > & datasets_map,
const std::vector< std::vector< ui > > & id_mapA,
const std::vector< std::vector< ui > > & id_mapB,
std::vector< std::vector< int > > & final_pairs,
const Table & groundTruth,
uint64_t K,
std::ofstream & statStream,
bool ifWeighted = false,
const std::string & mode = "exp" )
static

◆ topKviaTASelf()

void TopK::topKviaTASelf ( const Table & table_A,
const std::string & topKattr,
const std::string & attrType,
const std::vector< std::vector< std::vector< ui > > > & recordsA,
const std::vector< std::vector< double > > & recWeights,
const std::vector< std::vector< double > > & wordwt,
const std::unordered_map< std::string, ui > & datasets_map,
const std::vector< std::vector< ui > > & id_mapA,
std::vector< std::vector< int > > & final_pairs,
const Table & groundTruth,
uint64_t K,
std::ofstream & statStream,
bool ifWeighted = false,
const std::string & mode = "exp" )
static

◆ topKviaTASelfOpt()

void TopK::topKviaTASelfOpt ( const Table & table_A,
const std::string & topKattr,
const std::string & attrType,
const std::vector< std::vector< std::vector< ui > > > & recordsA,
const std::unordered_map< std::string, ui > & datasets_map,
const std::vector< std::vector< ui > > & id_mapA,
std::vector< std::vector< int > > & final_pairs,
uint64_t K )
static

◆ topKviaTATable()

void TopK::topKviaTATable ( const Table & matchRes,
uint64_t K,
std::vector< std::vector< std::string > > & newTable )

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