Krotos Modules 3
Loading...
Searching...
No Matches
hnswlib::InnerProductSpace Class Reference

#include <space_ip.h>

Inheritance diagram for hnswlib::InnerProductSpace:
hnswlib::SpaceInterface< float >

Public Member Functions

 InnerProductSpace (size_t dim)
 
size_t get_data_size ()
 
DISTFUNC< float > get_dist_func ()
 
void * get_dist_func_param ()
 
 ~InnerProductSpace ()
 
- Public Member Functions inherited from hnswlib::SpaceInterface< float >
virtual ~SpaceInterface ()
 

Private Attributes

DISTFUNC< float > fstdistfunc_
 
size_t data_size_
 
size_t dim_
 

Constructor & Destructor Documentation

◆ InnerProductSpace()

hnswlib::InnerProductSpace::InnerProductSpace ( size_t dim)
inline

◆ ~InnerProductSpace()

hnswlib::InnerProductSpace::~InnerProductSpace ( )
inline

Member Function Documentation

◆ get_data_size()

size_t hnswlib::InnerProductSpace::get_data_size ( )
inlinevirtual

◆ get_dist_func()

DISTFUNC< float > hnswlib::InnerProductSpace::get_dist_func ( )
inlinevirtual

◆ get_dist_func_param()

void * hnswlib::InnerProductSpace::get_dist_func_param ( )
inlinevirtual

Member Data Documentation

◆ data_size_

size_t hnswlib::InnerProductSpace::data_size_
private

◆ dim_

size_t hnswlib::InnerProductSpace::dim_
private

◆ fstdistfunc_

DISTFUNC<float> hnswlib::InnerProductSpace::fstdistfunc_
private

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