3 #include <base/grid_path_finder.h>
4 #include <base/node_grid_path_finder.h>
7 #include <unordered_map>
10 #include <unordered_set>
14 #include "base/path_node.h"
61 unsigned int maxOpenSetSize,
63 unsigned int maxNodeCnt,
84 std::shared_ptr<PathNode> currentNode,
85 std::vector<int> &endCoords
106 void loop(std::vector<int> data,
int pos,
const F &consumer);
116 void loop(std::vector<int> data,
int pos,
const F &consumer) {
117 if (pos >= data.size()) {
120 for (
int i = -1; i <= 1; i++) {
122 loop(data, pos + 1, consumer);