![]() |
SOPT
Sparse OPTimisation
|
#include <l1_proximal.h>
Public Types | |
| using | Real = typename real_type< SCALAR >::type |
Public Member Functions | |
| Breaker (Real objective, Real tolerance=1e-8, bool do_two_cycle=true) | |
| bool | operator() (Real objective) |
| True if we should break out of loop. More... | |
| Real | current () const |
| Current objective. More... | |
| Real | previous () const |
| Current objective. More... | |
| Real | relative_variation () const |
| Variation in the objective function. More... | |
| bool | two_cycle () const |
| Whether we have a cycle of period two. More... | |
| bool | converged () const |
| True if relative variation smaller than tolerance. More... | |
| Real | tolerance () const |
| Tolerance criteria. More... | |
| L1< SCALAR >::Breaker & | tolerance (Real tol) const |
| Tolerance criteria. More... | |
Definition at line 425 of file l1_proximal.h.
| using sopt::proximal::L1< SCALAR >::Breaker::Real = typename real_type<SCALAR>::type |
Definition at line 427 of file l1_proximal.h.
|
inline |
Constructs a breaker object
| [in] | objective | the first objective function |
| [in] | tolerance | Convergence criteria for convergence |
| [in] | do_two_cycle | Whether to enable two cycle detections. Only necessary when mixing is not enabled. |
Definition at line 433 of file l1_proximal.h.
References sopt::proximal::L1TightFrame< SCALAR >::objective().
|
inline |
True if relative variation smaller than tolerance.
Definition at line 458 of file l1_proximal.h.
Referenced by TEST_CASE().
|
inline |
|
inline |
True if we should break out of loop.
Definition at line 439 of file l1_proximal.h.
References sopt::proximal::L1TightFrame< SCALAR >::objective().
|
inline |
|
inline |
Variation in the objective function.
Definition at line 449 of file l1_proximal.h.
|
inline |
|
inline |
|
inline |
Whether we have a cycle of period two.
Cycling is prone to happen without mixing, it seems.
Definition at line 452 of file l1_proximal.h.
Referenced by TEST_CASE().