diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 11:20:43 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 11:20:43 +0100 |
| commit | a3d2775168f28cf294800b2a873ac20e3a87ddad (patch) | |
| tree | a58e92d199d4c59040b066a4740cbcf1165e0476 /src/search-node.hpp | |
| parent | 6a71040c0b28a5b9520d59b6c1d5fa51956e2b5f (diff) | |
w
Diffstat (limited to 'src/search-node.hpp')
| -rw-r--r-- | src/search-node.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/search-node.hpp b/src/search-node.hpp index c2977f84..c911e735 100644 --- a/src/search-node.hpp +++ b/src/search-node.hpp @@ -1,14 +1,21 @@ #pragma once #include "compat/defs.hpp" #include "search-result.hpp" +#include "point.hpp" #include <vector> #include <Corrade/Containers/Pointer.h> namespace floormat { +struct path_search_result::pair +{ + point pt; + uint32_t length = 0; +}; + struct path_search_result::node { - friend struct path_search_result; + friend class path_search_result; friend struct test_app; node() noexcept; @@ -16,6 +23,7 @@ struct path_search_result::node fm_DECLARE_DEFAULT_MOVE_ASSIGNMENT_(node); std::vector<point> vec; + std::vector<pair> vec_; private: Pointer<node> _next; |
