internal bool CanGCostBeLowerThanCurrent(int delta, NewNode neighbour) { if ((neighbour.GCost + delta) < GCost) { return(true); } return(false); }
internal void AssignDelta(int delta, NewNode node) { GCost = delta + node.GCost; FCost = HCost + GCost; }