From 832641f2905532263f70b3ea9ecc4a9ca7373ed2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2023 09:52:50 +0200 Subject: a --- src/path-search-dijkstra.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/path-search-dijkstra.cpp') diff --git a/src/path-search-dijkstra.cpp b/src/path-search-dijkstra.cpp index bb29e402..5e7b7e79 100644 --- a/src/path-search-dijkstra.cpp +++ b/src/path-search-dijkstra.cpp @@ -73,6 +73,13 @@ constexpr bbox bbox_from_pos(Math::Vector<2, T> pos, Vector2b offset, Vector2 return bb; } +bool add_start_node(std::vector& nodes, + tsl::robin_map& indexes, + std::vector& Q) +{ + +} + } // namespace bool astar::edge::operator==(const floormat::astar::edge& other) const = default; @@ -148,10 +155,6 @@ path_search_result astar::Dijkstra(world& w, Vector2ub own_size, const object_id Q.push_back(idx++); std::push_heap(Q.begin(), Q.end(), heap_comparator); } - else - { - - } } -- cgit v1.2.3