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

#include <oracle_bang_explore_exploit.h>

+ Inheritance diagram for OracleBangExploreExploit:

Public Member Functions

 OracleBangExploreExploit (Parameters const &params, size_t const &num_robots, CoverageSystem &env)
 
PointVector GetActions ()
 
std::vector< int > GetRobotStatus ()
 
void SetGoals (PointVector const &goals)
 
auto GetGoals ()
 
std::vector< VoronoiCellGetVoronoiCells ()
 
void ManageRobotStatus ()
 
double GetFrontierGoal (Point2 const &pos, Point2 &best_goal)
 
double GetFrontierGoal1 (Point2 const &pos, Point2 &best_goal)
 
void ComputeGoals ()
 
int ComputeActions ()
 
bool IsConverged ()
 
- Public Member Functions inherited from AbstractController

Detailed Description

Definition at line 50 of file oracle_bang_explore_exploit.h.

Constructor & Destructor Documentation

◆ OracleBangExploreExploit()

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

Definition at line 82 of file oracle_bang_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 341 of file oracle_bang_explore_exploit.h.

◆ ComputeGoals()

void ComputeGoals ( )
inline

Definition at line 285 of file oracle_bang_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 112 of file oracle_bang_explore_exploit.h.

◆ GetFrontierGoal()

double GetFrontierGoal ( Point2 const & pos,
Point2 & best_goal )
inline

Definition at line 155 of file oracle_bang_explore_exploit.h.

◆ GetFrontierGoal1()

double GetFrontierGoal1 ( Point2 const & pos,
Point2 & best_goal )
inline

Definition at line 216 of file oracle_bang_explore_exploit.h.

◆ GetGoals()

auto GetGoals ( )
inline

Definition at line 118 of file oracle_bang_explore_exploit.h.

◆ GetRobotStatus()

std::vector< int > GetRobotStatus ( )
inline

Definition at line 114 of file oracle_bang_explore_exploit.h.

◆ GetVoronoiCells()

std::vector< VoronoiCell > GetVoronoiCells ( )
inline

Definition at line 119 of file oracle_bang_explore_exploit.h.

◆ IsConverged()

bool IsConverged ( )
inline

Definition at line 374 of file oracle_bang_explore_exploit.h.

◆ ManageRobotStatus()

void ManageRobotStatus ( )
inline

Definition at line 121 of file oracle_bang_explore_exploit.h.

◆ SetGoals()

void SetGoals ( PointVector const & goals)
inline

Definition at line 116 of file oracle_bang_explore_exploit.h.