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