Coverage Control Library
|
#include <near_optimal_cvt.h>
Public Member Functions | |
NearOptimalCVT (Parameters const ¶ms, CoverageSystem &env) | |
NearOptimalCVT (Parameters const ¶ms, size_t const &num_robots, CoverageSystem &env) | |
PointVector | GetActions () |
auto | GetGoals () |
auto & | GetVoronoi () |
void | ComputeGoals () |
int | ComputeActions () |
bool | IsConverged () |
The algorithm has knowledge of the entire map in a centralized manner. It runs several trials; for each trial, it generates random initial positions for the sites. Then uses the CVT to compute optimal centroids. It performs the Hungarian algorithm to assign robots to the centroids. Finally, the trial with the minimum cost is selected.
Definition at line 67 of file near_optimal_cvt.h.
|
inline |
Definition at line 79 of file near_optimal_cvt.h.
|
inline |
Definition at line 81 of file near_optimal_cvt.h.
|
inlinevirtual |
Pure virtual function to compute the actions for the robots
Implements AbstractController.
Definition at line 103 of file near_optimal_cvt.h.
|
inline |
Definition at line 96 of file near_optimal_cvt.h.
|
inlinevirtual |
Pure virtual function to get the actions for the robots
Implements AbstractController.
Definition at line 90 of file near_optimal_cvt.h.
|
inline |
Definition at line 92 of file near_optimal_cvt.h.
|
inline |
Definition at line 94 of file near_optimal_cvt.h.
|
inline |
Definition at line 123 of file near_optimal_cvt.h.