Skip to content
Snippets Groups Projects
Commit 8faaa190 authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

Active search algorithm params set to optional

parent a045fb65
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ class AlgorithmACTIVESEARCH : public AlgorithmBase { ...@@ -105,7 +105,7 @@ class AlgorithmACTIVESEARCH : public AlgorithmBase {
// Factory method // Factory method
static AlgorithmBasePtr create(const std::string& _unique_name, const ParamsBasePtr _params); static AlgorithmBasePtr create(const std::string& _unique_name, const ParamsBasePtr _params);
AlgorithmParamsBasePtr getParams(void); AlgorithmParamsACTIVESEARCHPtr getParams(void);
void setParams(AlgorithmParamsACTIVESEARCHPtr _params); void setParams(AlgorithmParamsACTIVESEARCHPtr _params);
...@@ -225,7 +225,7 @@ class AlgorithmACTIVESEARCH : public AlgorithmBase { ...@@ -225,7 +225,7 @@ class AlgorithmACTIVESEARCH : public AlgorithmBase {
/* /*
* brief Retrieve object parameters * brief Retrieve object parameters
*/ */
inline AlgorithmParamsBasePtr AlgorithmACTIVESEARCH::getParams(void) { return params_ptr_; } inline AlgorithmParamsACTIVESEARCHPtr AlgorithmACTIVESEARCH::getParams(void) { return params_ptr_; }
/* /*
* brief Set object parameters * brief Set object parameters
......
...@@ -44,8 +44,6 @@ class AlgorithmBase : public VUBase, public std::enable_shared_from_this<Algorit ...@@ -44,8 +44,6 @@ class AlgorithmBase : public VUBase, public std::enable_shared_from_this<Algorit
std::string getName(void); std::string getName(void);
virtual AlgorithmParamsBasePtr getParams(void) = 0;
// Factory method // Factory method
static AlgorithmBasePtr create(const std::string& _unique_name, const ParamsBasePtr _params); static AlgorithmBasePtr create(const std::string& _unique_name, const ParamsBasePtr _params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment