Area coverage that minimizes the time taken for covering an area.
More...
#include <MinTimeAreaCoverage.h>
Area coverage that minimizes the time taken for covering an area.
Definition at line 84 of file MinTimeAreaCoverage.h.
◆ MinTimeAreaCoverage()
Constructor.
- Parameters
-
search_id | the region or search area to be covered |
e_time | amount of time to execute algorithm, 0 for infinite |
knowledge | the context containing variables and values |
platform | the underlying platform the algorithm will use |
sensors | map of sensor names to sensor information |
self | self-referencing variables |
agents | variables relating to agents |
algo_name | name to use in Sensor for differentiation |
◆ analyze()
virtual int gams::algorithms::area_coverage::MinTimeAreaCoverage::analyze |
( |
void |
| ) |
|
|
virtual |
◆ check_if_finished()
int gams::algorithms::area_coverage::BaseAreaCoverage::check_if_finished |
( |
int |
ret_val | ) |
const |
|
protectedinherited |
Check if finished based on time.
◆ execute()
virtual int gams::algorithms::area_coverage::BaseAreaCoverage::execute |
( |
void |
| ) |
|
|
virtualinherited |
◆ generate_new_position()
virtual void gams::algorithms::area_coverage::MinTimeAreaCoverage::generate_new_position |
( |
void |
| ) |
|
|
protectedvirtual |
◆ get_agents()
◆ get_algorithm_status()
Gets algorithm status variables.
◆ get_knowledge_base()
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::get_knowledge_base |
( |
void |
| ) |
|
|
inherited |
◆ get_next_position()
utility::GPSPosition gams::algorithms::area_coverage::BaseAreaCoverage::get_next_position |
( |
void |
| ) |
const |
|
inherited |
Get next position.
- Returns
- next_position_ member
◆ get_platform()
◆ get_self()
Gets self-defined variables.
◆ get_sensors()
Gets the available sensor information.
◆ get_utility()
◆ operator=()
void gams::algorithms::area_coverage::MinTimeAreaCoverage::operator= |
( |
const MinTimeAreaCoverage & |
rhs | ) |
|
Assignment operator.
- Parameters
-
◆ plan()
virtual int gams::algorithms::area_coverage::BaseAreaCoverage::plan |
( |
void |
| ) |
|
|
virtualinherited |
◆ review_last_move()
virtual void gams::algorithms::area_coverage::MinTimeAreaCoverage::review_last_move |
( |
| ) |
|
|
protectedvirtual |
review if last move was good, did we hit all cells we said we would
◆ set_agents()
virtual void gams::algorithms::BaseAlgorithm::set_agents |
( |
variables::Agents * |
agents | ) |
|
|
virtualinherited |
Sets the list of agents in the swarm.
- Parameters
-
◆ set_platform()
Sets the platform.
- Parameters
-
platform | the underlying platform the algorithm will use |
◆ set_self()
virtual void gams::algorithms::BaseAlgorithm::set_self |
( |
variables::Self * |
self | ) |
|
|
virtualinherited |
Sets the map of sensor names to sensor information.
- Parameters
-
self | pointer to self-referencing variables container |
◆ set_sensors()
Sets the map of sensor names to sensor information.
- Parameters
-
sensors | map of sensor names to sensor information |
◆ agents_
the list of agents potentially participating in the algorithm
Definition at line 201 of file BaseAlgorithm.h.
◆ enforcer_
madara::utility::EpochEnforcer<std::chrono::steady_clock> gams::algorithms::area_coverage::BaseAreaCoverage::enforcer_ |
|
protectedinherited |
◆ executions_
unsigned int gams::algorithms::BaseAlgorithm::executions_ |
|
protectedinherited |
◆ initialized_
bool gams::algorithms::area_coverage::BaseAreaCoverage::initialized_ |
|
protectedinherited |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::knowledge_ |
|
protectedinherited |
◆ last_generation_
unsigned int gams::algorithms::area_coverage::MinTimeAreaCoverage::last_generation_ |
|
protected |
◆ max_time_
double gams::algorithms::area_coverage::BaseAreaCoverage::max_time_ |
|
protectedinherited |
for keeping track of the time set for maximum coverage time
Definition at line 146 of file BaseAreaCoverage.h.
◆ min_time_
◆ next_position_
◆ platform_
◆ position_value_map_
std::map<utility::Position, double> gams::algorithms::area_coverage::MinTimeAreaCoverage::position_value_map_ |
|
protected |
◆ search_area_
pose::SearchArea gams::algorithms::area_coverage::MinTimeAreaCoverage::search_area_ |
|
protected |
◆ self_
◆ sensors_
◆ status_
provides access to status information for this platform
Definition at line 219 of file BaseAlgorithm.h.
◆ valid_positions_
std::set<utility::Position> gams::algorithms::area_coverage::MinTimeAreaCoverage::valid_positions_ |
|
protected |
The documentation for this class was generated from the following file: