コード例 #1
0
        /** Resets End Node Costs. Costs are updated on the end node at the start of the search to better reflect the end point passed to the path, the previous ones are saved in #endNodeCosts and are reset in this function which is called after the path search is complete */
        public void ResetCosts(Path p)
        {
            if (!hasEndPoint)
            {
                return;
            }

            endNode.ResetCosts(endNodeCosts);
        }
コード例 #2
0
 /** Resets End Node Costs. Costs are updated on the end node at the start of the search to better reflect the end point passed to the path, the previous ones are saved in #endNodeCosts and are reset in this function which is called after the path search is complete */
 public void ResetCosts(Path p)
 {
     endNode.ResetCosts(endNodeCosts);
 }