From a0d3b74adcc29c22d70da971621dd301727eb695 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Fri, 16 Oct 2009 12:03:14 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@81 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/aga/aga.hpp | 5 +++++ methods/powell/powell_method.hpp | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'methods') 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 array2d_type; - + const char* do_get_type_name()const + { + return "powell method"; + } private: array1d_type start_point; array1d_type end_point; -- cgit v1.2.2