static S ai_tripleToString(Triple t) { ret t == null ? "" : t.a + " -> " + t.b + " -> " + t.c; }