feat(lane_route): footprint standability, unknown cells in graph gap (R2.8)

- Standability: a cell is passable for the graph length reference and the
  lattice heuristic field only when the footprint plus the minimum gap fits
  at one of 16 headings; memoised per 32x32 tile, open space skips the test.
- Graph reference no longer cuts diagonal corners; route_too_long reports
  the reference length.
- Lattice field: coarse block passability decided lazily on first touch.
- ReferenceMemo: one route_too_long reference search per core pass instead
  of one per candidate.
- Graph tier counts unknown cells as obstacles for the footprint gap, like
  the lattice (user ruling 10/11).
- PlanInfo and eval JSON: standability counters, graph reference length.
This commit is contained in:
2026-11-10 10:01:39 +07:00
parent 527071827f
commit 4453f454a9
13 changed files with 516 additions and 23 deletions

View File

@@ -384,7 +384,12 @@ int main(int argc, char** argv)
<< ",\"lattice_min_gap_m\":";
if (result.ok && info.tier_used == "lattice" && std::isfinite(info.min_gap_m)) out << info.min_gap_m;
else out << "null";
out << ",\"lattice_upgrade_ms\":" << info.lattice_upgrade_ms << "}\n";
out << ",\"lattice_upgrade_ms\":" << info.lattice_upgrade_ms
<< ",\"graph_standability_tests\":" << info.graph_standability_tests
<< ",\"graph_standability_rejected\":" << info.graph_standability_rejected
<< ",\"lattice_standability_tests\":" << info.lattice_standability_tests
<< ",\"lattice_standability_rejected\":" << info.lattice_standability_rejected
<< ",\"graph_reference_length_m\":" << info.graph_reference_length_m << "}\n";
std::cout << id << " " << deviation << " " << info.reason << " " << info.query_ms << " ms" << std::endl;
}
}