
(k-dimensional) tree over a DiracMixturePdf.
| ST | Space partitioner type, derived from Partitioner. |
Definition at line 32 of file KDTree.hpp.
Public Member Functions | |
| KDTree () | |
| Default constructor. | |
| KDTree (DiracMixturePdf *p) | |
| Constructor. | |
| KDTree (const KDTree< ST > &o) | |
| Copy constructor. | |
| virtual | ~KDTree () |
| Destructor. | |
| virtual PartitionTree * | clone () |
| Clone tree. | |
| KDTree< ST > & | operator= (const KDTree< ST > &o) |
| Assignment operator. | |
| virtual PartitionTreeNode * | getRoot () |
| Get the root node of the partition tree. | |
| virtual void | setRoot (PartitionTreeNode *root) |
| Set the root node of the partition tree. | |
| KDTree | ( | ) | [inline] |
Default constructor.
This should generally only be used when the object is to be restored from a serialization.
Definition at line 116 of file KDTree.hpp.
| KDTree | ( | DiracMixturePdf * | p | ) | [inline] |
Constructor.
| p | Weighted sample set from which to build the tree. |
Definition at line 121 of file KDTree.hpp.
| ~KDTree | ( | ) | [inline, virtual] |
| indii::ml::aux::PartitionTree * clone | ( | ) | [inline, virtual] |
Clone tree.
Implements PartitionTree.
Definition at line 167 of file KDTree.hpp.
| indii::ml::aux::KDTree< ST > & operator= | ( | const KDTree< ST > & | o | ) | [inline] |
| indii::ml::aux::PartitionTreeNode * getRoot | ( | ) | [inline, virtual] |
Get the root node of the partition tree.
Implements PartitionTree.
Definition at line 173 of file KDTree.hpp.
| void setRoot | ( | PartitionTreeNode * | root | ) | [inline, virtual] |
Set the root node of the partition tree.
| root | Root node of the partition tree. |
root is not greater than the number of components in the weighted sample set underlying the tree. This is not checked.
Implements PartitionTree.
Definition at line 178 of file KDTree.hpp.
1.5.3