
Definition at line 17 of file RandomPartitioner.hpp.
Public Member Functions | |
| virtual | ~RandomPartitioner () |
| Destructor. | |
| virtual bool | init (DiracMixturePdf *p, const std::vector< unsigned int > &is) |
| Initialise the partitioner. | |
| virtual Partitioner::Partition | assign (const aux::vector &x) |
| Assign a sample to a partition. | |
| ~RandomPartitioner | ( | ) | [virtual] |
| bool init | ( | DiracMixturePdf * | p, | |
| const std::vector< unsigned int > & | is | |||
| ) | [virtual] |
Initialise the partitioner.
| p | Weighted sample set. | |
| is | Indices of components of interest in the weighted sample set. |
Implements Partitioner.
Definition at line 9 of file RandomPartitioner.cpp.
| indii::ml::aux::Partitioner::Partition assign | ( | const aux::vector & | x | ) | [inline, virtual] |
Assign a sample to a partition.
| x | The sample to assign. |
Implements Partitioner.
Definition at line 47 of file RandomPartitioner.hpp.
1.5.3