From 56090a933f288cff88adace022c0b01e4bd5c6a1 Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 13 Jul 2005 20:29:40 +0000 Subject: [PATCH] Add hierarchical constraints. This is enabled only if the compile-time variable DIGCOLA is defined. At present, by default this is undefined. --- lib/neatogen/kkutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/neatogen/kkutils.h b/lib/neatogen/kkutils.h index aa87fb380..d3694b80f 100644 --- a/lib/neatogen/kkutils.h +++ b/lib/neatogen/kkutils.h @@ -40,8 +40,7 @@ extern "C" { void compute_apsp_artifical_weights(vtx_data * graph, int n, DistType ** (&Dij)); - void quicksort_place(double *place, int *ordering, int first, - int last); + void quicksort_place(double *place, int *ordering, int first, int last); void free_graph(vtx_data * (&graph)); #else extern void fill_neighbors_vec_unweighted(vtx_data *, int vtx, @@ -53,6 +52,7 @@ extern "C" { extern DistType **compute_apsp_artifical_weights(vtx_data *, int); extern double distance_kD(double **, int, int, int); extern void quicksort_place(double *, int *, int, int); + extern void quicksort_placef(float *, int *, int, int); extern void compute_new_weights(vtx_data * graph, int n); extern void restore_old_weights(vtx_data * graph, int n, float *old_weights); -- 2.40.0