X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=moebius2.git;a=blobdiff_plain;f=minimise.h;h=29e320795dc587e7fcebecf7b9690f7ff1f3a194;hp=c2e13e7b40fef83169495c5b2754fc91333c90d1;hb=e7355cdc61d082bc1d25a4d460736680e8d1dba2;hpb=9aebb79046fab30b3d44a6b6c337a22efdb82f7c diff --git a/minimise.h b/minimise.h index c2e13e7..29e3207 100644 --- a/minimise.h +++ b/minimise.h @@ -13,8 +13,10 @@ void energy_init(void); double graph_layout_cost(const Vertices v, int section); void graph_layout_prepare(); -void compute_vertex_areas(const Vertices vertices, int section); -void compute_edge_lengths(const Vertices vertices, int section); +double compute_vertex_areas(const Vertices vertices, int section); +double compute_edge_lengths(const Vertices vertices, int section); + /* these don't actually return anything interesting - they're just + * like this so they fit into the parallel/sequential scheme */ extern double vertex_areas[N], vertex_mean_edge_lengths[N], edge_lengths[N][V6];