Focuses on high priority areas over low priority, and attempts to do minimum time coverage.
More...
#include <PrioritizedMinTimeAreaCoverage.h>
Focuses on high priority areas over low priority, and attempts to do minimum time coverage.
Definition at line 75 of file PrioritizedMinTimeAreaCoverage.h.
◆ PrioritizedMinTimeAreaCoverage()
gams::algorithms::area_coverage::PrioritizedMinTimeAreaCoverage::PrioritizedMinTimeAreaCoverage |
( |
const std::string & |
search_id, |
|
|
double |
e_time, |
|
|
madara::knowledge::KnowledgeBase * |
knowledge = 0 , |
|
|
platforms::BasePlatform * |
platform = 0 , |
|
|
variables::Sensors * |
sensors = 0 , |
|
|
variables::Self * |
self = 0 , |
|
|
variables::Agents * |
agents = 0 , |
|
|
const std::string & |
algo_name = "pmtac" |
|
) |
| |
Constructor.
- Parameters
-
knowledge | the context containing variables and values |
search_id | search area identifier |
e_time | execution time |
platform | the underlying platform the algorithm will use |
sensors | map of sensor names to sensor information |
self | self-referencing variables |
agents | variables referencing agents |
algo_name | algorithm name |
◆ analyze()
virtual int gams::algorithms::area_coverage::MinTimeAreaCoverage::analyze |
( |
void |
| ) |
|
|
virtualinherited |
◆ 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 |
| ) |
|
|
protectedvirtualinherited |
◆ 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=()
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 |
( |
| ) |
|
|
protectedvirtualinherited |
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_ |
|
protectedinherited |
◆ 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_ |
|
protectedinherited |
◆ search_area_
pose::SearchArea gams::algorithms::area_coverage::MinTimeAreaCoverage::search_area_ |
|
protectedinherited |
◆ 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_ |
|
protectedinherited |
The documentation for this class was generated from the following file: