Classes | Typedefs | Functions

mcl.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

typedef float mcl_weight_t

Function Documentation

void mcl_done ( struct mcl_model mcl  ) 

Deallocates memory allocated by mcl_init().

Parameters:
mcl MCL model structure.

Here is the caller graph for this function:

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.

Parameters:
mcl MCL model structure
part_size Size of one particle
count The number of particles

Here is the caller graph for this function:

void mcl_normalize ( struct mcl_model mcl  ) 

Normalize the particle weights.

Parameters:
mcl the MCL model