/* Missing values to be excluded */
enum mv_class exclude;
-
-
/* Function to be called on each update */
update_func *update;
-
/* Function specified by the caller to create user_data */
user_data_create_func *user_data_create;
-
/* Auxilliary data to be passed to update and user_data_create_func*/
void *aux1;
void *aux2;
}
-#if 0
+#if 1
void
categoricals_dump (const struct categoricals *cat)
{
cat->vp[i].cc += weight;
if (cat->update)
- cat->update (node->user_data, cat->wv, var, c, cat->aux1, cat->aux2);
+ cat->update (node->user_data, cat->exclude, cat->wv, var, c, cat->aux1, cat->aux2);
}
}
}
assert (cat->n_vars <= cat->n_vp);
+
+ // categoricals_dump (cat);
}