public static void UpdateAllData(this ANode node, ANode startNode, ANode endNode) { node.CalGValue(startNode); node.CalHValue(endNode); node.CalFValue(); }