Classes | |
struct | mcl_model |
Typedefs | |
typedef float | mcl_weight_t |
Functions | |
void | mcl_init (struct mcl_model *mcl, unsigned count, void *estimated) |
FUNCTION PROTOTYPES. | |
void | mcl_done (struct mcl_model *mcl) |
Deallocates memory allocated by mcl_init(). | |
void | mcl_normalize (struct mcl_model *mcl) |
Normalize the particle weights. |
typedef float mcl_weight_t |
void mcl_done | ( | struct mcl_model * | mcl | ) |
Deallocates memory allocated by mcl_init().
mcl | MCL model structure. |
void mcl_init | ( | struct mcl_model * | mcl, | |
unsigned | count, | |||
void * | estimated | |||
) |
FUNCTION PROTOTYPES.
FUNCTION PROTOTYPES.
Initializes mcl_model and allocates neccessary memory. Should be called from implementation init function.
mcl | MCL model structure | |
part_size | Size of one particle | |
count | The number of particles |
void mcl_normalize | ( | struct mcl_model * | mcl | ) |
Normalize the particle weights.
mcl | the MCL model |