Coverage Control Library
Loading...
Searching...
No Matches
AbstractController Class Referenceabstract

#include <abstract_controller.h>

+ Inheritance diagram for AbstractController:

Public Member Functions

virtual PointVector GetActions ()=0
 
virtual int ComputeActions ()=0
 

Detailed Description

The class AbstractController is an abstract class for coverage control algorithms. It provides a common interface for all coverage control algorithms. Pure virtual functions: GetActions and ComputeActions

Definition at line 45 of file abstract_controller.h.

Member Function Documentation

◆ ComputeActions()

virtual int ComputeActions ( )
pure virtual

Pure virtual function to compute the actions for the robots

Returns
0 if the actions are computed successfully, 1 otherwise

Implemented in CentralizedCVT, ClairvoyantCVT, DecentralizedCVT, NearOptimalCVT, OracleBangExploreExploit, and OracleExploreExploit.

◆ GetActions()

virtual PointVector GetActions ( )
pure virtual

Pure virtual function to get the actions for the robots

Returns
The actions for the robots

Implemented in CentralizedCVT, ClairvoyantCVT, DecentralizedCVT, NearOptimalCVT, OracleBangExploreExploit, and OracleExploreExploit.