#
Junjie
2025-01-14 900f7032f7e701efd4741c2bcabeaad969e5fd3f
src/main/java/com/zy/common/model/NavigateNode.java
@@ -32,7 +32,7 @@
        this.Father = father;
        if (this.Father != null) {
            //走过的步数等于父节点走过的步数加一
            this.G = father.G + 1;
            this.G = father.G + this.G;
        } else { //父节点为空代表它是第一个结点
            this.G = 0;
        }