diff options
Diffstat (limited to 'methods')
-rw-r--r-- | methods/aga/aga.hpp | 5 | ||||
-rw-r--r-- | methods/powell/powell_method.hpp | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp index 77c5700..1c73fdf 100644 --- a/methods/aga/aga.hpp +++ b/methods/aga/aga.hpp @@ -79,6 +79,11 @@ namespace opt_utilities } private: + const char* do_get_type_name()const + { + return "asexual genetic algorithm"; + } + rT func(const pT& x) { assert(p_fo!=0); diff --git a/methods/powell/powell_method.hpp b/methods/powell/powell_method.hpp index ee5adeb..1e135b0 100644 --- a/methods/powell/powell_method.hpp +++ b/methods/powell/powell_method.hpp @@ -34,7 +34,10 @@ namespace opt_utilities mutable bool bstop; //typedef blitz::Array<rT,2> array2d_type; - + const char* do_get_type_name()const + { + return "powell method"; + } private: array1d_type start_point; array1d_type end_point; |