Fawkes API Fawkes Development Version
|
A structured representation of a skill. More...
#include <execution_time_estimator.h>
Public Member Functions | |
Skill (const std::string &skill_string) | |
Constructor. More... | |
bool | matches (const Skill &skill) const |
Check, whether the skill matches another skill description. More... | |
Public Attributes | |
std::string | skill_name = "" |
The name of the skill. More... | |
std::unordered_map< std::string, std::string > | skill_args = {} |
A map of the skill's argument keys to argument values. More... | |
A structured representation of a skill.
Definition at line 38 of file execution_time_estimator.h.
Skill::Skill | ( | const std::string & | skill_string | ) |
Constructor.
Create a skill from the skill string.
skill_string | The skill string to create the skill object from. |
Definition at line 150 of file execution_time_estimator.cpp.
References skill_name.
bool Skill::matches | ( | const Skill & | other | ) | const |
Check, whether the skill matches another skill description.
other | The skill description that should be matched |
Definition at line 173 of file execution_time_estimator.cpp.
References skill_args, and skill_name.
std::unordered_map<std::string, std::string> fawkes::ExecutionTimeEstimator::Skill::skill_args = {} |
A map of the skill's argument keys to argument values.
Definition at line 47 of file execution_time_estimator.h.
Referenced by fawkes::NavGraphEstimator::can_provide_exec_time(), fawkes::NavGraphEstimator::execute(), fawkes::NavGraphEstimator::get_execution_time(), and matches().
std::string fawkes::ExecutionTimeEstimator::Skill::skill_name = "" |
The name of the skill.
Definition at line 45 of file execution_time_estimator.h.
Referenced by fawkes::LookupEstimator::can_provide_exec_time(), fawkes::LookupEstimator::get_execution_time(), matches(), and Skill().