1#ifndef Q_HEX_WALKER_DIJKSTRA_H
2#define Q_HEX_WALKER_DIJKSTRA_H
12 std::size_t
operator()(
const H3Index &index)
const {
return std::hash<uint64_t>()(index); }
27 static std::vector<H3Index>
reconstructPath(
const std::unordered_map<H3Index, H3Index, H3IndexHash> &previous,
28 H3Index start, H3Index end);
std::vector< H3Index > findShortestPath(H3Index start, H3Index end)
static double getDistanceBetweenCells(H3Index cell1, H3Index cell2)
static std::vector< H3Index > reconstructPath(const std::unordered_map< H3Index, H3Index, H3IndexHash > &previous, H3Index start, H3Index end)
static std::vector< H3Index > getNeighbors(H3Index cell)
std::size_t operator()(const H3Index &index) const
bool operator>(const Node &other) const