aboutsummaryrefslogtreecommitdiffstats
path: root/methods
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-16 12:03:14 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-16 12:03:14 +0000
commita0d3b74adcc29c22d70da971621dd301727eb695 (patch)
tree78435ae01f83769a678eeb550fb74ce512650fd9 /methods
parent0c1f50351a0287252c4b0f7e9edbfb945481e6f7 (diff)
downloadopt-utilities-a0d3b74adcc29c22d70da971621dd301727eb695.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@81 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods')
-rw-r--r--methods/aga/aga.hpp5
-rw-r--r--methods/powell/powell_method.hpp5
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;