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()
#define DEFINE_MRPT_OBJECT(class_name)
This declaration must be inserted in all CObject classes definition, within the class declaration...
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...
GLsizei const GLchar ** string
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.
GLsizei GLsizei GLchar * source
std::string scalar_score_formula
A formula that takes all/a subset of scores and generates a scalar global score.
void saveConfigFile(mrpt::config::CConfigFileBase &c) const override