
Definition at line 27 of file KernelDensityMixturePdf.hpp.
Public Member Functions | |
| KernelDensityMixturePdf () | |
| Default constructor. | |
| KernelDensityMixturePdf (const unsigned int N) | |
| Constructor. | |
| KernelDensityMixturePdf (const KernelDensityPdf< NT, KT > &x, const double w=1.0) | |
| Constructor. | |
| virtual | ~KernelDensityMixturePdf () |
| Destructor. | |
| vector | densityAt (PartitionTree &tree) |
| Calculate the density on the local node for all points in a tree. | |
| template<class S> | |
| vector | distributedDensityAt (KDTree< S > &tree) |
| Calculate the density of the full distribution for all points in a tree. | |
| KernelDensityMixturePdf | ( | ) | [inline] |
Default constructor.
Initialises the mixture with zero dimensions. This should generally only be used when the object is to be restored from a serialization. Indeed, there is no other way to resize the mixture to nonzero dimensionality except by subsequently restoring from a serialization.
Definition at line 128 of file KernelDensityMixturePdf.hpp.
| KernelDensityMixturePdf | ( | const unsigned int | N | ) | [inline] |
Constructor.
One or more components should be added with addComponent() after construction.
| N | Dimensionality of the distribution. |
Definition at line 134 of file KernelDensityMixturePdf.hpp.
| KernelDensityMixturePdf | ( | const KernelDensityPdf< NT, KT > & | x, | |
| const double | w = 1.0 | |||
| ) | [inline] |
Constructor.
| x | The first component. | |
| w | Unnormalised weight of the component. |
Definition at line 140 of file KernelDensityMixturePdf.hpp.
| ~KernelDensityMixturePdf | ( | ) | [inline, virtual] |
| indii::ml::aux::vector densityAt | ( | PartitionTree & | tree | ) | [inline] |
Calculate the density on the local node for all points in a tree.
| tree | Query tree. |
Definition at line 153 of file KernelDensityMixturePdf.hpp.
| indii::ml::aux::vector distributedDensityAt | ( | KDTree< S > & | tree | ) | [inline] |
Calculate the density of the full distribution for all points in a tree.
| tree | Query tree on this node. |
Definition at line 170 of file KernelDensityMixturePdf.hpp.
1.5.3