1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-02 16:00:16 +00:00

rogueviz:: embeddings:: -gr test

This commit is contained in:
Zeno Rogue
2025-12-05 09:44:00 +01:00
parent 5fcc0d680a
commit 0f9f32a30c

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;