node< P > Struct Template Reference

#include <covertree.hpp>

List of all members.

Public Member Functions

 node ()
 node (P _p, ScalarType _max_dist, ScalarType _parent_dist, node< P > *_children, unsigned short int _num_children, short int _scale)

Public Attributes

ScalarType max_dist
ScalarType parent_dist
node< P > * children
unsigned short int num_children
short int scale

Detailed Description

template<class P>
struct tapkee::tapkee_internal::node< P >

Cover tree node TODO better doc

Definition at line 35 of file covertree.hpp.

Constructor & Destructor Documentation

node ( )

Definition at line 37 of file covertree.hpp.

node ( _p,
ScalarType  _max_dist,
ScalarType  _parent_dist,
node< P > *  _children,
unsigned short int  _num_children,
short int  _scale 

Definition at line 42 of file covertree.hpp.

Member Data Documentation

Pointer to the list of children of this node

Definition at line 59 of file covertree.hpp.

The maximum distance to any grandchild

Definition at line 53 of file covertree.hpp.

unsigned short int num_children

The number of children nodes of this node

Definition at line 62 of file covertree.hpp.

P p


Definition at line 50 of file covertree.hpp.

The distance to the parent

Definition at line 56 of file covertree.hpp.

short int scale

Essentially, an upper bound on the distance to any child

Definition at line 65 of file covertree.hpp.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines