MultiIndex
Classes | Typedefs | Functions
perfomance_util.h File Reference
#include <iostream>
#include <set>
#include <vector>
#include "data_util.h"
Include dependency graph for perfomance_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PerfTester

Typedefs

typedef pair< Distance, PointIdDistanceToPoint

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)

Detailed Description


Typedef Documentation


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
 All Classes Files Functions Variables Typedefs Enumerations Enumerator