aboutsummaryrefslogtreecommitdiffstats
path: root/core/optimizer.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-03 15:55:18 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-05-03 15:55:18 +0000
commit12868a2786ec1346d5a0a43c68b772515eb9a163 (patch)
treecc8beed5958bec2f9cace63647bcf04d718ebb2a /core/optimizer.hpp
parent65cfe455aae323a274ef6e504e7c452076039bbc (diff)
downloadopt-utilities-12868a2786ec1346d5a0a43c68b772515eb9a163.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@192 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'core/optimizer.hpp')
-rw-r--r--core/optimizer.hpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/core/optimizer.hpp b/core/optimizer.hpp
index cd78d3d..63e4edd 100644
--- a/core/optimizer.hpp
+++ b/core/optimizer.hpp
@@ -477,7 +477,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return *(this->p_opt_method);
}
@@ -490,7 +490,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return *(this->p_opt_method);
}
@@ -504,7 +504,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
p_opt_method->set_precision(x);
}
@@ -517,7 +517,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return p_opt_method->get_precision();
}
@@ -531,7 +531,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
p_opt_method->set_start_point(x);
}
@@ -544,7 +544,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return p_opt_method->get_start_point();
}
@@ -558,7 +558,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
p_opt_method->set_lower_limit(x);
}
@@ -571,7 +571,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return p_opt_method->get_lower_limit();
}
@@ -585,7 +585,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
p_opt_method->set_upper_limit(x);
}
@@ -598,7 +598,7 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
return p_opt_method->get_upper_limit();
}
@@ -613,7 +613,7 @@ namespace opt_utilities
{
if(p_func_obj==0)
{
- throw object_function_undefined();
+ throw object_function_not_defined();
}
return p_func_obj->eval(x);
}
@@ -628,11 +628,11 @@ namespace opt_utilities
{
if(p_opt_method==0)
{
- throw opt_method_undefined();
+ throw opt_method_not_defined();
}
if(p_func_obj==0)
{
- throw object_function_undefined();
+ throw object_function_not_defined();
}
return p_opt_method->optimize();
}
@@ -665,7 +665,7 @@ namespace opt_utilities
{
if(p_func_obj==0)
{
- throw object_function_undefined();
+ throw object_function_not_defined();
}
return *p_func_obj;
}
@@ -677,7 +677,7 @@ namespace opt_utilities
{
if(p_func_obj==0)
{
- throw object_function_undefined();
+ throw object_function_not_defined();
}
return *p_func_obj;
}