
Definition at line 24 of file PartitionTree.hpp.
Public Member Functions | |
| PartitionTree () | |
| Default constructor. | |
| PartitionTree (DiracMixturePdf *p) | |
| Constructor. | |
| virtual | ~PartitionTree () |
| Destructor. | |
| virtual PartitionTree * | clone ()=0 |
| Clone tree. | |
| DiracMixturePdf * | getData () |
| Get the underlying weighted sample set. | |
| virtual PartitionTreeNode * | getRoot ()=0 |
| Get the root node of the partition tree. | |
| void | setData (DiracMixturePdf *p) |
| Set the underlying weighted sample set. | |
| virtual void | setRoot (PartitionTreeNode *root)=0 |
| Set the root node of the partition tree. | |
| PartitionTree | ( | ) |
Default constructor.
This should generally only be used when the object is to be restored from a serialization.
Definition at line 7 of file PartitionTree.cpp.
| PartitionTree | ( | DiracMixturePdf * | p | ) |
Constructor.
| p | Weighted sample set from which to build the tree. |
Definition at line 11 of file PartitionTree.cpp.
| ~PartitionTree | ( | ) | [virtual] |
| virtual PartitionTree* clone | ( | ) | [pure virtual] |
| indii::ml::aux::DiracMixturePdf * getData | ( | ) | [inline] |
Get the underlying weighted sample set.
Definition at line 119 of file PartitionTree.hpp.
| virtual PartitionTreeNode* getRoot | ( | ) | [pure virtual] |
Get the root node of the partition tree.
Implemented in KDTree.
| void setData | ( | DiracMixturePdf * | p | ) |
Set the underlying weighted sample set.
| p | The underlying weighted sample set. |
Definition at line 19 of file PartitionTree.cpp.
| virtual void setRoot | ( | PartitionTreeNode * | root | ) | [pure 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.
Implemented in KDTree.
1.5.3