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; }