56 virtual void clear()
override;
64 const std::vector<mrpt::nav::TCandidateMovementPTG>& movs,
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
virtual 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...
void saveConfigFile(mrpt::utils::CConfigFileBase &c) const override
void loadFromConfigFile(const mrpt::utils::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
GLsizei const GLchar ** string
void saveToConfigFile(mrpt::utils::CConfigFileBase &cfg, const std::string §ion) const override
This method saves the options to a ".ini"-like file or memory-stored string list. ...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Virtual base class for multi-objective motion choosers, as used for reactive navigation engines...
Common params for all children.
void loadConfigFile(const mrpt::utils::CConfigFileBase &c) override
GLsizei GLsizei GLchar * source
std::string scalar_score_formula
A formula that takes all/a subset of scores and generates a scalar global score.
mrpt::math::CRuntimeCompiledExpression m_expr_scalar_formula