2 * Routines used for minimisation (only)
10 double compute_energy(const struct Vertices *vs);
12 double graph_layout_cost(const Vertices v);
13 void graph_layout_prepare();
15 void compute_vertex_areas(const Vertices vertices);
16 void compute_edge_lengths(const Vertices vertices);
17 extern double vertex_areas[N], vertex_mean_edge_lengths[N], edge_lengths[N][V6];
19 double noncircular_rim_cost(const Vertices vertices);
20 double edgewise_vertex_displacement_cost(const Vertices vertices);
21 double edge_length_variation_cost(const Vertices vertices);
23 extern const char *input_file, *output_file;
24 extern char *output_file_tmp;
26 enum printing_instance { pr_cost, pr_size, pr__max };
27 int printing_check(enum printing_instance, int indent);