MultiIndex
Functions | Variables
perfomance_util.cpp File Reference
#include "perfomance_util.h"
Include dependency graph for perfomance_util.cpp:

Functions

int GetRecallAt (const int length, const vector< PointId > &groundtruth, const vector< DistanceToPoint > &result)
double GetPresicionAt (const int length, const set< PointId > &groundtruth, const vector< DistanceToPoint > &result)

Variables

string report_file

Function Documentation

double GetPresicionAt ( const int  length,
const set< PointId > &  groundtruth,
const vector< DistanceToPoint > &  result 
)

This function returns precision at specified length

Parameters:
lengthspecified size of search results
groundtruthgroundtruth
resultsearch results
int GetRecallAt ( const int  length,
const vector< PointId > &  groundtruth,
const vector< DistanceToPoint > &  result 
)

This function returns recall at specified length

Parameters:
lengthspecified size of search results
groundtruthgroundtruth
resultsearch results

Variable Documentation

string report_file

File to write report in

 All Classes Files Functions Variables Typedefs Enumerations Enumerator