34 #include "pf_vector.h" 35 #include "pf_kdtree.h" 48 typedef pf_vector_t (*pf_init_model_fn_t) (
void *init_data);
52 typedef void (*pf_action_model_fn_t) (
void *action_data,
57 typedef double (*pf_sensor_model_fn_t) (
void *sensor_data,
103 int cluster_count, cluster_max_count;
113 int min_samples, max_samples;
116 double pop_err, pop_z;
127 pf_t *pf_alloc(
int min_samples,
int max_samples);
130 void pf_free(
pf_t *pf);
136 void pf_init_model(
pf_t *pf, pf_init_model_fn_t init_fn,
void *init_data);
139 void pf_update_action(
pf_t *pf, pf_action_model_fn_t action_fn,
void *action_data);
142 void pf_update_sensor(
pf_t *pf, pf_sensor_model_fn_t sensor_fn,
void *sensor_data);
145 void pf_update_resample(
pf_t *pf);
152 int pf_get_cluster_stats(
pf_t *pf,
int cluster,
double *weight,
156 void pf_draw_samples(
pf_t *pf,
struct _rtk_fig_t *fig,
int max_samples);
159 void pf_draw_hist(
pf_t *pf,
struct _rtk_fig_t *fig);
162 void pf_draw_cep_stats(
pf_t *pf,
struct _rtk_fig_t *fig);
165 void pf_draw_cluster_stats(
pf_t *pf,
struct _rtk_fig_t *fig);
Definition: pf_kdtree.h:67
Definition: pf_vector.h:48
Definition: pf_vector.h:41