From 4c7e3f113b80e37c52163c30b80b9256f0bee5e3 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 17 十一月 2025 13:34:39 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/model/NavigateNode.java |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/zy/common/model/NavigateNode.java b/src/main/java/com/zy/common/model/NavigateNode.java
index 5a41b66..a4b3af6 100644
--- a/src/main/java/com/zy/common/model/NavigateNode.java
+++ b/src/main/java/com/zy/common/model/NavigateNode.java
@@ -1,8 +1,10 @@
 package com.zy.common.model;
 
 import lombok.Data;
+import lombok.ToString;
 
 import java.io.Serializable;
+import java.util.List;
 
 /**
  * A*瀵昏矾绠楁硶Node鑺傜偣
@@ -12,14 +14,15 @@
 
     private int x;//鍧愭爣x
     private int y;//鍧愭爣y
-    private int z;//鍧愭爣z(楂樺害)
     private int F;//缁煎悎鑺辫垂鐨勬鏁�
     private int G;//宸茬粡鑺辫垂鐨勬鏁�
     private int H;//灏嗚鑺辫垂鐨勬鏁�
+    private int value;
+    @ToString.Exclude
     private NavigateNode Father;//鐖惰妭鐐�
-    private Boolean isInflectionPoint;//鏄惁涓烘嫄鐐�
-    private String direction;//琛岃蛋鏂瑰悜
-    private Integer moveDistance;//琛岃蛋璺濈
+    private List<String> directionList;//琛岃蛋鏂瑰悜
+    private String nodeValue;//鑺傜偣鏁版嵁
+    private String nodeType;//鑺傜偣绫诲瀷
 
     public NavigateNode(int x, int y) {
         this.x = x;
@@ -32,7 +35,7 @@
         this.Father = father;
         if (this.Father != null) {
             //璧拌繃鐨勬鏁扮瓑浜庣埗鑺傜偣璧拌繃鐨勬鏁板姞涓�
-            this.G = father.G + 1;
+            this.G = father.G + this.G;
         } else { //鐖惰妭鐐逛负绌轰唬琛ㄥ畠鏄涓�涓粨鐐�
             this.G = 0;
         }

--
Gitblit v1.9.1