NuVPTree< T, distance >::Node Struct Reference

List of all members.

Public Member Functions

 Node ()
 ~Node ()

Public Attributes

int index
double threshold
Nodeleft
Noderight

Detailed Description

template<typename T, double(*)(const T &, const T &) distance>
struct NuVPTree< T, distance >::Node

Definition at line 55 of file NuVPTree.h.


Constructor & Destructor Documentation

template<typename T, double(*)(const T &, const T &) distance>
NuVPTree< T, distance >::Node::Node (  )  [inline]

Definition at line 62 of file NuVPTree.h.

00062            :
00063       index(0), threshold(0.), left(0), right(0) {}

template<typename T, double(*)(const T &, const T &) distance>
NuVPTree< T, distance >::Node::~Node (  )  [inline]

Definition at line 65 of file NuVPTree.h.

References NuVPTree< T, distance >::Node::left, and NuVPTree< T, distance >::Node::right.

00065             {
00066       delete left;
00067       delete right;
00068     }


Member Data Documentation

template<typename T, double(*)(const T &, const T &) distance>
int NuVPTree< T, distance >::Node::index

Definition at line 57 of file NuVPTree.h.

template<typename T, double(*)(const T &, const T &) distance>
Node* NuVPTree< T, distance >::Node::left

Definition at line 59 of file NuVPTree.h.

Referenced by NuVPTree< T, distance >::Node::~Node().

template<typename T, double(*)(const T &, const T &) distance>
Node* NuVPTree< T, distance >::Node::right

Definition at line 60 of file NuVPTree.h.

Referenced by NuVPTree< T, distance >::Node::~Node().

template<typename T, double(*)(const T &, const T &) distance>
double NuVPTree< T, distance >::Node::threshold

Definition at line 58 of file NuVPTree.h.


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

Generated on 19 Jan 2018 for loon by  doxygen 1.6.1