mirror of https://github.com/davisking/dlib.git
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:
parent
c725ee0917
commit
48389c5a87
|
@ -21,7 +21,7 @@ namespace dlib
|
|||
|
||||
virtual ~oca_problem() {}
|
||||
|
||||
virtual bool r_has_lower_bound (
|
||||
virtual bool risk_has_lower_bound (
|
||||
scalar_type&
|
||||
) const { return false; }
|
||||
|
||||
|
@ -146,7 +146,7 @@ namespace dlib
|
|||
scalar_type cp_obj = 0;
|
||||
|
||||
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
|
||||
// what it is.
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace dlib
|
|||
|
||||
virtual ~oca_problem() {}
|
||||
|
||||
virtual bool r_has_lower_bound (
|
||||
virtual bool risk_has_lower_bound (
|
||||
scalar_type& lower_bound
|
||||
) const { return false; }
|
||||
/*!
|
||||
|
|
|
@ -131,7 +131,7 @@ namespace dlib
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual bool r_has_lower_bound (
|
||||
virtual bool risk_has_lower_bound (
|
||||
scalar_type& lower_bound
|
||||
) const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue