cheshirekow  v0.1.0
mpblocks::kd_tree::Traits Class Reference

example traits class, can also be used as a default if you're lazy and your problem happens to be 2d More...

#include <mpblocks/kd_tree/Traits.h>

Classes

class  Node
 the node class must be defined in traits since it uses the CTRP, it must derive from kd_tree::Node<Traits> where Traits is the class containing Node More...
 

Private Types

typedef double Format_t
 number format (i.e. double, float) More...
 
typedef euclidean::HyperRect
< Traits
HyperRect
 the hyper rectangle class must be defined in traits before the Node class since Node uses Traits::HyperRect in it's definition. For Euclidean kd-tree's however, you may simply typedef this More...
 

Static Private Attributes

static const unsigned int NDim =2
 number of dimensions More...
 

Detailed Description

example traits class, can also be used as a default if you're lazy and your problem happens to be 2d

Definition at line 36 of file Traits.h.

Member Typedef Documentation

typedef double mpblocks::kd_tree::Traits::Format_t
private

number format (i.e. double, float)

Definition at line 38 of file Traits.h.

the hyper rectangle class must be defined in traits before the Node class since Node uses Traits::HyperRect in it's definition. For Euclidean kd-tree's however, you may simply typedef this

Definition at line 44 of file Traits.h.

Member Data Documentation

const unsigned int mpblocks::kd_tree::Traits::NDim =2
staticprivate

number of dimensions

Definition at line 39 of file Traits.h.


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