if (printing) printf("cost > energy |");
COST(1e2, edgewise_vertex_displacement_cost(vertices));
-// COST(1e0, graph_layout_cost(vertices,vertex_areas));
+ COST(1e2, graph_layout_cost(vertices,vertex_areas));
// COST(1e4, noncircular_rim_cost(vertices));
if (printing) printf("| total %# e |", energy);
static gsl_multimin_fminimizer *minimiser;
-static const double stop_epsilon= 1e-4;
+static const double stop_epsilon= 1e-6;
static double minfunc_f(const gsl_vector *x, void *params) {
assert(x->size == DIM);
double cost= pow(delta,3);
if (!e && !(qi & YMASK))
- cost *= 1e3;
+ cost *= 10;
total_cost += cost;
}