Classes | Typedefs | Functions
knnbench.cpp File Reference
#include "nabo/nabo.h"
#include "experimental/nabo_experimental.h"
#include "helpers.h"
#include <iostream>
#include <fstream>
#include <stdexcept>
Include dependency graph for knnbench.cpp:

Go to the source code of this file.

Classes

struct  BenchResult
 

Typedefs

typedef vector< BenchResultBenchResults
 
typedef Nabo::BruteForceSearch< double > BFSD
 
typedef Nabo::BruteForceSearch< float > BFSF
 
typedef Nabo::NearestNeighbourSearch< double >::Index IndexD
 
typedef Nabo::NearestNeighbourSearch< float >::Index IndexF
 
typedef Nabo::NearestNeighbourSearch< double >::IndexVector IndexVectorD
 
typedef Nabo::NearestNeighbourSearch< float >::IndexVector IndexVectorF
 
typedef Nabo::NearestNeighbourSearch< double >::Matrix MatrixD
 
typedef Nabo::NearestNeighbourSearch< float >::Matrix MatrixF
 
typedef Nabo::NearestNeighbourSearch< double >::Vector VectorD
 
typedef Nabo::NearestNeighbourSearch< float >::Vector VectorF
 

Functions

template<typename T >
BenchResult doBenchType (const typename NearestNeighbourSearch< T >::SearchType type, const unsigned creationOptionFlags, const typename NearestNeighbourSearch< T >::Matrix &d, const typename NearestNeighbourSearch< T >::Matrix &q, const int K, const int, const int searchCount)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ BenchResults

typedef vector<BenchResult> BenchResults

Definition at line 114 of file knnbench.cpp.

◆ BFSD

typedef Nabo::BruteForceSearch<double> BFSD

Definition at line 59 of file knnbench.cpp.

◆ BFSF

typedef Nabo::BruteForceSearch<float> BFSF

Definition at line 60 of file knnbench.cpp.

◆ IndexD

Definition at line 53 of file knnbench.cpp.

◆ IndexF

Definition at line 57 of file knnbench.cpp.

◆ IndexVectorD

typedef Nabo::NearestNeighbourSearch<double>::IndexVector IndexVectorD

Definition at line 54 of file knnbench.cpp.

◆ IndexVectorF

typedef Nabo::NearestNeighbourSearch<float>::IndexVector IndexVectorF

Definition at line 58 of file knnbench.cpp.

◆ MatrixD

typedef Nabo::NearestNeighbourSearch<double>::Matrix MatrixD

Definition at line 51 of file knnbench.cpp.

◆ MatrixF

typedef Nabo::NearestNeighbourSearch<float>::Matrix MatrixF

Definition at line 55 of file knnbench.cpp.

◆ VectorD

typedef Nabo::NearestNeighbourSearch<double>::Vector VectorD

Definition at line 52 of file knnbench.cpp.

◆ VectorF

typedef Nabo::NearestNeighbourSearch<float>::Vector VectorF

Definition at line 56 of file knnbench.cpp.

Function Documentation

◆ doBenchType()

template<typename T >
BenchResult doBenchType ( const typename NearestNeighbourSearch< T >::SearchType  type,
const unsigned  creationOptionFlags,
const typename NearestNeighbourSearch< T >::Matrix &  d,
const typename NearestNeighbourSearch< T >::Matrix &  q,
const int  K,
const int  ,
const int  searchCount 
)

Definition at line 135 of file knnbench.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 287 of file knnbench.cpp.



libnabo
Author(s): Stéphane Magnenat
autogenerated on Fri Aug 2 2024 08:39:11