From faa82f0a6004026c94a6415baf5e138b48dc1629 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 24 Oct 2024 18:32:55 +0200 Subject: implement weird dijkstra --- BreadthFirstPathfinder.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BreadthFirstPathfinder.h') diff --git a/BreadthFirstPathfinder.h b/BreadthFirstPathfinder.h index ba05f70..0c73c69 100644 --- a/BreadthFirstPathfinder.h +++ b/BreadthFirstPathfinder.h @@ -1,9 +1,9 @@ #pragma once -#include "Pathfinder.h" - #include +#include "Pathfinder.h" + class BreadthFirstPathfinder : public Pathfinder { using Pathfinder::Pathfinder; @@ -12,11 +12,11 @@ public: virtual const Path & get_path(); private: - std::vector find_step(const std::vector &); Path solution; - XY end; + std::vector find_step(const std::vector &); + protected: virtual void clear(); -- cgit v1.2.3