去敏感提交

This commit is contained in:
2026-09-13 18:43:25 +08:00
parent 89021eb9f8
commit 599eea40d6
249 changed files with 16272 additions and 31659 deletions
-34
View File
@@ -88,39 +88,6 @@ def arrow(ax, p, q, color=GRAY):
linewidth=1.0, color=color))
def fig_flow_overall():
"""四层主线图:紧凑画布,箭头端点一律落在框边,不在框内穿过。
原图四条 L2→L3 的箭头收在同一个点上,箭头头部挤成一团;
这里改为按顺序分别落在 L3 顶边的不同位置,
线不交叉、箭头也不重叠。
"""
fig, ax = plt.subplots(figsize=(7.6, 4.9))
ax.axis("off")
box(ax, 0.5, 4.0, 7.0, 0.8, "L0 题面抽象:区域、运动、计时、频道", fc="#EFEFEF",
size=9.5)
box(ax, 0.5, 3.0, 2.1, 0.7, "L1 证据层\n候选集", size=8.5)
box(ax, 2.9, 3.0, 2.1, 0.7, "L1 决策层\n任务表", size=8.5)
box(ax, 5.3, 3.0, 2.1, 0.7, "L1 执行层\n动作", size=8.5)
box(ax, 0.5, 2.0, 1.6, 0.7, "L2 问题一\n几何", fc="#E8EEF4", size=8.5)
box(ax, 2.3, 2.0, 1.6, 0.7, "L2 问题二\n主动测量", fc="#E8EEF4", size=8.5)
box(ax, 4.1, 2.0, 1.6, 0.7, "L2 问题三\n全向闭环", fc="#E8EEF4", size=8.5)
box(ax, 5.9, 2.0, 1.6, 0.7, "L2 问题四\n混合闭环", fc="#E8EEF4", size=8.5)
box(ax, 1.4, 0.8, 5.2, 0.7, "L3 发现 → 定位 → 清除", fc="#E6F0E7", ec=GREEN,
size=9.5)
# L0 → L1:三条竖直箭头,终点取各框顶边中点
for px in (1.55, 3.95, 6.35):
arrow(ax, (px, 4.0), (px, 3.7))
# L2 → L3:四条线先接到 L3 上方的一条汇流线,再由一个箭头进入 L3。
# 直接让四条箭头落在同一条边上时,箭头头部会彼此压住,故改用汇流线。
bus_y = 1.62
ax.plot([2.65, 5.15], [bus_y, bus_y], color=GRAY, linewidth=1.0, zorder=1)
for px in (1.3, 3.1, 4.9, 6.7):
ax.plot([px, px], [2.0, bus_y], color=GRAY, linewidth=1.0, zorder=1)
arrow(ax, (3.9, bus_y), (3.9, 1.5))
ax.set_xlim(0, 8); ax.set_ylim(0.5, 5.2)
save(fig, "flow-overall-architecture.png")
def fig_framework():
"""闭环决策图:观测—候选集—任务—动作的循环,自下而上闭合。
@@ -461,7 +428,6 @@ def fig_practice_total():
def main():
fig_formal_time_bars()
fig_practice_total()
fig_flow_overall()
fig_framework()
fig_state_machine()
fig_timing_attachment()