void vl_ikm_push (VlIKMFilt *f, vl_uint32 *asgn, vl_uint8 const *data, vl_size N) { switch (f -> method) { case VL_IKM_LLOYD : vl_ikm_push_lloyd (f, asgn, data, N) ; break ; case VL_IKM_ELKAN : vl_ikm_push_elkan (f, asgn, data, N) ; break ; default : abort() ; } }
VL_EXPORT void vl_ikm_push (VlIKMFilt *f, vl_uint *asgn, vl_uint8 const *data, int N) { switch (f -> method) { case VL_IKM_LLOYD : vl_ikm_push_lloyd (f, asgn, data, N) ; break ; case VL_IKM_ELKAN : vl_ikm_push_elkan (f, asgn, data, N) ; break ; default : assert (0) ; } }