chiark
/
gitweb
/
~ian
/
moebius2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a602fc8
)
add noncircular, now it collapses
author
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 6 Jan 2008 20:38:53 +0000
(20:38 +0000)
committer
Ian Jackson
<ian@davenant.greenend.org.uk>
Sun, 6 Jan 2008 20:38:53 +0000
(20:38 +0000)
energy.c
patch
|
blob
|
history
diff --git
a/energy.c
b/energy.c
index 5e6de24e80186364a26855e6587b9f1a54cfb27a..49d4e434e9243b037905b98afb5a2ae975a2fc7f 100644
(file)
--- a/
energy.c
+++ b/
energy.c
@@
-30,7
+30,7
@@
double compute_energy(const struct Vertices *vs) {
COST(1e2, edgewise_vertex_displacement_cost(vs->a));
COST(1e2, graph_layout_cost(vs->a));
COST(1e3, edge_length_variation_cost(vs->a));
-
// COST(1e6
, noncircular_rim_cost(vs->a));
+
COST(1e8
, noncircular_rim_cost(vs->a));
if (printing) printf("| total %# e |", energy);