zhang
2025-11-03 abbfb9733fe7370ae427cfa726cc311298bda89a
algo-zkd/src/main/java/com/algo/service/PathPlanningService.java
@@ -890,7 +890,7 @@
                }
                
                // 找到一个未被占用的位置
                if (!blockedPositions.contains(neighborPos)) {
                if (!blockedPositions.contains(neighborPos) && (depth + 1) >= 3) {
                    System.out.println("  找到避让位置: " + neighborPos + " (距离=" + (depth + 1) + "步)");
                    return neighborPos;
                }