performance optimizations

This commit is contained in:
Jan Petykiewicz 2026-03-19 15:03:29 -07:00
commit c989ab6b9f
6 changed files with 408 additions and 815 deletions

View file

@ -103,8 +103,7 @@ def main() -> None:
})
# Save plots only for certain iterations to save time
#if idx % 20 == 0 or idx == pf.max_iterations - 1:
if True:
if idx % 20 == 0 or idx == pf.max_iterations - 1:
# Save a plot of this iteration's result
fig, ax = plot_routing_results(current_results, obstacles, bounds, netlist=netlist)
plot_danger_map(danger_map, ax=ax)