LCOV - code coverage report
Current view: top level - src/include/panoc-alm/util - lipschitz.hpp (source / functions) Hit Total Coverage
Test: ecee3ec3a495b05c61f077aa7a236b7e00601437 Lines: 5 5 100.0 %
Date: 2021-11-04 22:49:09 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <panoc-alm/util/vec.hpp>
       4             : 
       5             : namespace pa {
       6             : 
       7           9 : struct LipschitzEstimateParams {
       8             :     /// Initial estimate of the Lipschitz constant of ∇ψ(x)
       9           9 :     real_t L₀ = 0;
      10             :     /// Relative step size for initial finite difference Lipschitz estimate.
      11           9 :     real_t ε = 1e-6;
      12             :     /// Minimum step size for initial finite difference Lipschitz estimate.
      13           9 :     real_t δ = 1e-12;
      14             :     /// Factor that relates step size γ and Lipschitz constant.
      15           9 :     real_t Lγ_factor = 0.95;
      16             : };
      17             : 
      18             : } // namespace pa

Generated by: LCOV version 1.15