From 07139e38b8d6baadc30443c7f20551908b3db491 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sat, 5 Sep 2009 16:17:32 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@60 ed2142bd-67ad-457f-ba7c-d818d4011675 --- methods/aga/aga.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'methods/aga/aga.hpp') diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp index 0cde38d..8878953 100644 --- a/methods/aga/aga.hpp +++ b/methods/aga/aga.hpp @@ -152,17 +152,31 @@ namespace opt_utilities } } + + array1d_type do_get_start_point()const + { + return array1d_type(); + } void do_set_lower_limit(const array1d_type& p) { opt_eq(lower_bound,p); } + array1d_type do_get_lower_limit()const + { + return lower_bound; + } void do_set_upper_limit(const array1d_type& p) { opt_eq(upper_bound,p); } + + array1d_type do_get_upper_limit()const + { + return upper_bound; + } void do_set_precision(rT t) @@ -170,6 +184,11 @@ namespace opt_utilities threshold=t; } + rT do_get_precision()const + { + return threshold; + } + void do_set_optimizer(optimizer& o) { p_optimizer=&o; -- cgit v1.2.2