Coverage Control Library
Loading...
Searching...
No Matches
OracleExploreExploit Class Reference

#include <oracle_explore_exploit.h>

+ Inheritance diagram for OracleExploreExploit:

Public Member Functions

 OracleExploreExploit (Parameters const &params, size_t const &num_robots, CoverageSystem &env)
 
PointVector GetActions ()
 
MapType const & GetOracleMap ()
 
void SetGoals (PointVector const &goals)
 
auto GetGoals ()
 
std::vector< VoronoiCellGetVoronoiCells ()
 
void UpdateOracleMap ()
 
double GetExplorationRatio () const
 
void ComputeGoals ()
 
int ComputeActions ()
 
bool IsConverged ()
 
- Public Member Functions inherited from AbstractController

Detailed Description

Definition at line 49 of file oracle_explore_exploit.h.

Constructor & Destructor Documentation

◆ OracleExploreExploit()

OracleExploreExploit ( Parameters const & params,
size_t const & num_robots,
CoverageSystem & env )
inline

Definition at line 68 of file oracle_explore_exploit.h.

Member Function Documentation

◆ ComputeActions()

int ComputeActions ( )
inlinevirtual

Pure virtual function to compute the actions for the robots

Returns
0 if the actions are computed successfully, 1 otherwise

Implements AbstractController.

Definition at line 162 of file oracle_explore_exploit.h.

◆ ComputeGoals()

void ComputeGoals ( )
inline

Definition at line 123 of file oracle_explore_exploit.h.

◆ GetActions()

PointVector GetActions ( )
inlinevirtual

Pure virtual function to get the actions for the robots

Returns
The actions for the robots

Implements AbstractController.

Definition at line 89 of file oracle_explore_exploit.h.

◆ GetExplorationRatio()

double GetExplorationRatio ( ) const
inline

Definition at line 121 of file oracle_explore_exploit.h.

◆ GetGoals()

auto GetGoals ( )
inline

Definition at line 95 of file oracle_explore_exploit.h.

◆ GetOracleMap()

MapType const & GetOracleMap ( )
inline

Definition at line 91 of file oracle_explore_exploit.h.

◆ GetVoronoiCells()

std::vector< VoronoiCell > GetVoronoiCells ( )
inline

Definition at line 97 of file oracle_explore_exploit.h.

◆ IsConverged()

bool IsConverged ( )
inline

Definition at line 176 of file oracle_explore_exploit.h.

◆ SetGoals()

void SetGoals ( PointVector const & goals)
inline

Definition at line 93 of file oracle_explore_exploit.h.

◆ UpdateOracleMap()

void UpdateOracleMap ( )
inline

Definition at line 99 of file oracle_explore_exploit.h.