Renamed r_has_lower_bound() to risk_has_lower_bound()

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403521
This commit is contained in:
Davis King 2010-03-03 00:14:14 +00:00
parent c725ee0917
commit 48389c5a87
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ namespace dlib
virtual ~oca_problem() {} virtual ~oca_problem() {}
virtual bool r_has_lower_bound ( virtual bool risk_has_lower_bound (
scalar_type& scalar_type&
) const { return false; } ) const { return false; }
@ -146,7 +146,7 @@ namespace dlib
scalar_type cp_obj = 0; scalar_type cp_obj = 0;
scalar_type R_lower_bound; scalar_type R_lower_bound;
if (problem.r_has_lower_bound(R_lower_bound)) if (problem.risk_has_lower_bound(R_lower_bound))
{ {
// The flat lower bounding plane is always good to have if we know // The flat lower bounding plane is always good to have if we know
// what it is. // what it is.

View File

@ -34,7 +34,7 @@ namespace dlib
virtual ~oca_problem() {} virtual ~oca_problem() {}
virtual bool r_has_lower_bound ( virtual bool risk_has_lower_bound (
scalar_type& lower_bound scalar_type& lower_bound
) const { return false; } ) const { return false; }
/*! /*!

View File

@ -131,7 +131,7 @@ namespace dlib
return false; return false;
} }
virtual bool r_has_lower_bound ( virtual bool risk_has_lower_bound (
scalar_type& lower_bound scalar_type& lower_bound
) const ) const
{ {