1.8.0
CCC
 
Loading...
Searching...
No Matches
gstlrn::t_nheap Struct Reference

#include <ball_algorithm.h>

Public Member Functions

 t_nheap ()=default
 
void resize (Id n_pts, Id n_nbrs)
 
double largest (Id row) const
 
Id push (Id row, double val, Id i_val)
 
void sort ()
 
void load (const t_btree &b, const MatrixT< double > &x)
 

Public Attributes

MatrixT< double > distances
 
MatrixT< Idindices
 
Id n_pts
 
Id n_nbrs
 

Constructor & Destructor Documentation

◆ t_nheap()

gstlrn::t_nheap::t_nheap ( )
default

Member Function Documentation

◆ largest()

double gstlrn::t_nheap::largest ( Id  row) const

◆ load()

void gstlrn::t_nheap::load ( const t_btree b,
const MatrixT< double > &  x 
)

◆ push()

Id gstlrn::t_nheap::push ( Id  row,
double  val,
Id  i_val 
)

◆ resize()

void gstlrn::t_nheap::resize ( Id  n_pts,
Id  n_nbrs 
)

◆ sort()

void gstlrn::t_nheap::sort ( )

Member Data Documentation

◆ distances

MatrixT<double> gstlrn::t_nheap::distances

◆ indices

MatrixT<Id> gstlrn::t_nheap::indices

◆ n_nbrs

Id gstlrn::t_nheap::n_nbrs

◆ n_pts

Id gstlrn::t_nheap::n_pts

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