Implementation of algorithm to calculate distance from obstacles. More...
#include <queue>
#include <vector>
#include <range/v3/range/access.hpp>
#include <range/v3/range/primitives.hpp>
#include <range/v3/view/enumerate.hpp>
Go to the source code of this file.
Namespaces | |
beluga | |
The main Beluga namespace. | |
Functions | |
template<class Range , class DistanceFunction , class NeighborsFunction > | |
auto | beluga::nearest_obstacle_distance_map (Range &&obstacle_map, DistanceFunction &&distance_function, NeighborsFunction &&neighbors_function) |
Returns a map where the value of each cell is the distance to the nearest obstacle. More... | |
Implementation of algorithm to calculate distance from obstacles.
Definition in file distance_map.hpp.