Commit f238a708 authored by 许瑞's avatar 许瑞

fix: udpate caption connect rule

parent c86c3f25
......@@ -298,8 +298,10 @@ class MagicModel:
or k in used
or k in seen
or dis[j][k] == MAX_DIS_OF_POINT
or dis[j][k] > dis[i][j]
):
continue
is_nearest = True
for l in range(i + 1, N):
if l in (j, k) or l in used or l in seen:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment