performance optimizations
This commit is contained in:
parent
22ec194560
commit
c989ab6b9f
6 changed files with 408 additions and 815 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue