hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxResultCompareUtils.cpp File Reference
#include "SphinxResultCompareUtils.hpp"
#include "SphinxResultDataSerializator.hpp"
#include <algorithm>
Include dependency graph for SphinxResultCompareUtils.cpp:

Go to the source code of this file.

Functions

bool isEqualWords (const WordInfo &word1, const WordInfo &word2)
bool isEqualWordInfo (const vector< SphinxResultDataItem< WordInfo > > &checkWords, const vector< SphinxResultDataItem< WordInfo > > &etalonWords)
bool isEqualRequestInfoStatParams (const SphinxRequestInfo &checkInfo, const SphinxRequestInfo &etalonInfo)
bool isEqualRequestInfo (SphinxResultData &checkResult, SphinxResultData &etalonResult)
bool isEqAttrInfo (const vector< SphinxResultDataItem< AttrInfo > > &check, const vector< SphinxResultDataItem< AttrInfo > > &etalon)
bool isMatchInfoEq (const SphinxMatchInfo &checkInfo, const SphinxMatchInfo &etalonInfo)
bool isEqualMatchInfo (SphinxResultData &checkResult, SphinxResultData &etalonResult)
bool isEqualUnSortMatchInfo (SphinxResultData &checkResult, SphinxResultData &etalonResult)
bool isEqualSphinxResultData (SphinxResultData &checkResult, SphinxResultData &etalonResult)
string buildInputJSONFromSphinxResultData (SphinxResultData &sphinxResultData)
string buildOutputJSONFromSphinxResultData (SphinxResultData &sphinxResultData)
SphinxMatchInfo buildSimpleMatchInfo (unsigned long long id, unsigned long long weight)

Function Documentation

string buildInputJSONFromSphinxResultData ( SphinxResultData sphinxResultData)

Definition at line 132 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

string buildOutputJSONFromSphinxResultData ( SphinxResultData sphinxResultData)

Definition at line 141 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

SphinxMatchInfo buildSimpleMatchInfo ( unsigned long long  id,
unsigned long long  weight 
)

Definition at line 149 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqAttrInfo ( const vector< SphinxResultDataItem< AttrInfo > > &  check,
const vector< SphinxResultDataItem< AttrInfo > > &  etalon 
)

Definition at line 63 of file SphinxResultCompareUtils.cpp.

Here is the caller graph for this function:

bool isEqualMatchInfo ( SphinxResultData checkResult,
SphinxResultData etalonResult 
)

Definition at line 88 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualRequestInfo ( SphinxResultData checkResult,
SphinxResultData etalonResult 
)

Definition at line 50 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualRequestInfoStatParams ( const SphinxRequestInfo checkInfo,
const SphinxRequestInfo etalonInfo 
)

Definition at line 33 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualSphinxResultData ( SphinxResultData checkResult,
SphinxResultData etalonResult 
)

Definition at line 122 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualUnSortMatchInfo ( SphinxResultData checkResult,
SphinxResultData etalonResult 
)

Definition at line 102 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualWordInfo ( const vector< SphinxResultDataItem< WordInfo > > &  checkWords,
const vector< SphinxResultDataItem< WordInfo > > &  etalonWords 
)

Definition at line 19 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isEqualWords ( const WordInfo word1,
const WordInfo word2 
)

Definition at line 12 of file SphinxResultCompareUtils.cpp.

Here is the caller graph for this function:

bool isMatchInfoEq ( const SphinxMatchInfo checkInfo,
const SphinxMatchInfo etalonInfo 
)

Definition at line 79 of file SphinxResultCompareUtils.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: