rogueviz:: embeddings:: -gr test

This commit is contained in:
Zeno Rogue committed 2025-12-05 09:44:00 +01:00
1 parent 5fcc0d680a
commit 0f9f32a30c
1 file changed
+6
+6
View File
@@ -180,6 +180,12 @@ int routing_args() {
if(argis("-routing")) {
// shift(); routing_test(args());
}
else if(argis("-gr")) {
iddata result;
prepare_pairs();
greedy_routing(result);
println(hlog, "success = ", result.suc / result.tot, " stretch = ", result.routedist / result.bestdist);
}
else return 1;
return 0;