diff --git a/devmods/rulegen-tests.cpp b/devmods/rulegen-tests.cpp index eb74eef0..c363fc94 100644 --- a/devmods/rulegen-tests.cpp +++ b/devmods/rulegen-tests.cpp @@ -1579,10 +1579,58 @@ void genhoneycomb(string fname) { map> rev_roadsign_id; for(auto& rs: roadsign_id) rev_roadsign_id[rs.second] = rs.first; - for(int i=0; i, int>; + vector nclassify(N); + for(int i=0; i= 0) print(hlog, " ", nclassify[r].first[0]); + else print(hlog, " S", r); + } + println(hlog); + } + println(hlog); + + for(int i=0; i= 0) { - data.push_back(r); + data.push_back(nclassify[r].first[0]); } else { data.push_back(-1); @@ -1611,7 +1659,7 @@ void genhoneycomb(string fname) { hwrite_fpattern(ss, fp); vector root(qc, 0); - for(int i=0; i