ugv_nav4d
Static Public Member Functions | List of all members
ugv_nav4d::Dijkstra Class Reference

#include <Dijkstra.hpp>

Collaboration diagram for ugv_nav4d::Dijkstra:
Collaboration graph

Static Public Member Functions

static void computeCost (const maps::grid::TraversabilityNodeBase *source, std::unordered_map< const maps::grid::TraversabilityNodeBase *, double > &outDistances, const traversability_generator3d::TraversabilityConfig &config)
 

Member Function Documentation

◆ computeCost()

void ugv_nav4d::Dijkstra::computeCost ( const maps::grid::TraversabilityNodeBase *  source,
std::unordered_map< const maps::grid::TraversabilityNodeBase *, double > &  outDistances,
const traversability_generator3d::TraversabilityConfig &  config 
)
static

Computes the heuristic cost from source to all reachable nodes

Parameters
outDistancesmapping from node to distance
maxDistthe maximum possible distance

The documentation for this class was generated from the following files: