From 49890a16c5461fe0330ea791c2a6c70656788a66 Mon Sep 17 00:00:00 2001 From: Aleksandra Jonas Date: Tue, 28 Apr 2020 23:46:23 +0000 Subject: [PATCH] Zaktualizuj 'route-planning.md' --- route-planning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route-planning.md b/route-planning.md index f0ef681..61b37a8 100644 --- a/route-planning.md +++ b/route-planning.md @@ -120,7 +120,7 @@ Obliczamy g — koszt przejścia od pola początkowego do pola końcowego, zgodn if tentative_is_better == True: self.came_from[y] = x self.g_score[y] = tentative_g_score - self.f_score[y] = self.g_score[y] + self.hscore(y, koniec) + self.f_score[y] = self.g_score[y] + self.h_score(y, koniec) ```