X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=minimise.h;h=f75bc571912ca4d596fe8fa4413765ed5747d10e;hb=97c8d0f50c36555ac4558c1ceabf9b70f8acc49c;hp=cf450c248781d203d6b7fc58bd63ddea4135110d;hpb=cd84cbc4ca24530cfd110b53019706babc3986a5;p=moebius2.git diff --git a/minimise.h b/minimise.h index cf450c2..f75bc57 100644 --- a/minimise.h +++ b/minimise.h @@ -20,9 +20,11 @@ extern double vertex_areas[N], vertex_mean_edge_lengths[N], edge_lengths[N][V6]; extern const double edge_angle_cost_circcircrat; +double vertex_displacement_cost(const Vertices vertices, int section); double line_bending_cost(const Vertices vertices, int section); double noncircular_rim_cost(const Vertices vertices, int section); double edge_length_variation_cost(const Vertices vertices, int section); +double prop_edge_length_variation_cost(const Vertices vertices, int section); double rim_proximity_cost(const Vertices vertices, int section); double edge_angle_cost(const Vertices vertices, int section); double small_triangles_cost(const Vertices vertices, int section); @@ -31,10 +33,6 @@ extern const char *input_file, *best_file; extern char *best_file_tmp; extern long long evaluations; extern double stop_epsilon; -extern int quitting_last_iteration; - -#include -extern sig_atomic_t quitting_reported_threads; enum printing_instance { pr_cost, pr_size, pr__max }; int printing_check(enum printing_instance, int indent);