save progress

This commit is contained in:
2026-04-25 14:37:25 +09:00
parent 9c1329ddca
commit 9d76d82f5e
@@ -115,11 +115,11 @@ print(f"Saved: {save_folder}/k4_vs_N.png")
# k3
fig, ax = plt.subplots(figsize=(7, 5))
ax.plot(nodes, k3_bin, marker="o", color="steelblue", label="binary k4")
ax.plot(nodes, k3_fib, marker="s", color="darkorange", label="fibonacci k4")
ax.plot(nodes, k3_bin, marker="o", color="steelblue", label="binary k3")
ax.plot(nodes, k3_fib, marker="s", color="darkorange", label="fibonacci k3")
ax.set_xlabel("N (nodes)")
# ax.set_ylabel("k3 — decrease-key cost per call [s]")
# ax.set_title("k3 (decrease-key unit cost) vs N")
ax.set_ylabel("k3 — iteration cost per call [s]")
ax.set_title("k3 (iteration unit cost) vs N")
ax.legend(fontsize=8)
ax.grid(True, alpha=0.4)
fig.tight_layout()