54 virtual void clear()
override;
62 const std::vector<mrpt::nav::TCandidateMovementPTG>& movs,
#define DEFINE_MRPT_OBJECT(class_name)
This declaration must be inserted in all CObject classes definition, within the class declaration.
This class allows loading and storing values and vectors of different types from a configuration text...
A wrapper of exprtk runtime expression compiler: it takes a string representing an expression (from a...
Implementation of multi-objective motion chooser using scalarization: a user-given formula is used to...
CMultiObjMotionOpt_Scalarization()
virtual void clear() override
Resets the object state; use if the parameters change, so they are re-read and applied.
int impl_decide(const std::vector< mrpt::nav::TCandidateMovementPTG > &movs, TResultInfo &extra_info) override
std::map< std::string, double > m_expr_scalar_vars
void loadConfigFile(const mrpt::config::CConfigFileBase &c) override
mrpt::expr::CRuntimeCompiledExpression m_expr_scalar_formula
void saveConfigFile(mrpt::config::CConfigFileBase &c) const override
Virtual base class for multi-objective motion choosers, as used for reactive navigation engines.
GLsizei const GLchar ** string
GLsizei GLsizei GLchar * source
void saveToConfigFile(mrpt::config::CConfigFileBase &cfg, const std::string §ion) const override
This method saves the options to a ".ini"-like file or memory-stored string list.
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
std::string scalar_score_formula
A formula that takes all/a subset of scores and generates a scalar global score.
Common params for all children.