Public Member Functions | Public Attributes | List of all members
ML::manifold_precomputed_knn_inputs_t< value_idx, value_t > Struct Template Reference

#include <common.hpp>

Inheritance diagram for ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >:
Inheritance graph
Collaboration diagram for ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >:
Collaboration graph

Public Member Functions

 manifold_precomputed_knn_inputs_t (value_idx *knn_indices_, value_t *knn_dists_, value_t *y_, int n_, int d_, int n_neighbors_)
 
bool alloc_knn_graph () const
 
- Public Member Functions inherited from ML::manifold_inputs_t< value_t >
 manifold_inputs_t (value_t *y_, int n_, int d_)
 

Public Attributes

knn_graph< value_idx, value_t > knn_graph
 
- Public Attributes inherited from ML::manifold_inputs_t< value_t >
value_t * y
 
int n
 
int d
 

Detailed Description

template<typename value_idx, typename value_t>
struct ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >

Precomputed KNN graph input to manifold learning algorithms

Template Parameters
value_idx
value_t

Constructor & Destructor Documentation

◆ manifold_precomputed_knn_inputs_t()

template<typename value_idx , typename value_t >
ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >::manifold_precomputed_knn_inputs_t ( value_idx *  knn_indices_,
value_t *  knn_dists_,
value_t *  y_,
int  n_,
int  d_,
int  n_neighbors_ 
)
inline

Member Function Documentation

◆ alloc_knn_graph()

template<typename value_idx , typename value_t >
bool ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >::alloc_knn_graph ( ) const
inlinevirtual

Member Data Documentation

◆ knn_graph

template<typename value_idx , typename value_t >
knn_graph<value_idx, value_t> ML::manifold_precomputed_knn_inputs_t< value_idx, value_t >::knn_graph

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