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

#include <space_l2.h>

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

Public Member Functions

 L2Space (size_t dim)
 
size_t get_data_size ()
 
DISTFUNC< float > get_dist_func ()
 
void * get_dist_func_param ()
 
 ~L2Space ()
 
- 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

◆ L2Space()

hnswlib::L2Space::L2Space ( size_t dim)
inline

◆ ~L2Space()

hnswlib::L2Space::~L2Space ( )
inline

Member Function Documentation

◆ get_data_size()

size_t hnswlib::L2Space::get_data_size ( )
inlinevirtual

◆ get_dist_func()

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

◆ get_dist_func_param()

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

Member Data Documentation

◆ data_size_

size_t hnswlib::L2Space::data_size_
private

◆ dim_

size_t hnswlib::L2Space::dim_
private

◆ fstdistfunc_

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

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