LCOV - code coverage report
Current view: top level - bnmin1/src - gradientminim.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 1 0.0 %
Date: 2024-10-29 13:38:20 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /**
       2             :    Bojan Nikolic <bojan@bnikolic.co.uk> 
       3             :    Initial version 2008
       4             : 
       5             :    This file is part of BNMin1 and is licensed under GNU General
       6             :    Public License version 2.
       7             : 
       8             :    \file gradientminim.hxx
       9             :    Renamed to gradientminim.h 2023.
      10             :    
      11             :    Minimisation with gradients of the likelihood function
      12             : */
      13             : #ifndef _BNMIN_GRADIENTMINIM_HXX__
      14             : #define _BNMIN_GRADIENTMINIM_HXX__
      15             : 
      16             : #include "minim.h"
      17             : 
      18             : 
      19             : namespace Minim {
      20             : 
      21             : 
      22             :   // Forwards
      23             :   class LGradientModel;
      24             : 
      25             :   /** \brief Minimisation using the Broyden-Fletcher-Goldfarb-Shanno
      26             :      version 2 algorithm
      27             : 
      28             :    */
      29             :   class BFGS2Minim :
      30             :     public ModelDesc
      31             :   {
      32             :     LGradientModel &lgm;
      33             : 
      34             :   public:
      35             : 
      36             :     // --------- Constructors / Desctructors -------------------
      37             : 
      38             :     BFGS2Minim(LGradientModel &pm);    
      39           0 :     virtual ~BFGS2Minim(){};    
      40             : 
      41             :     // ------------------ Inherited from Minimiser -------------
      42             :     virtual void solve(void);
      43             :     
      44             :   };
      45             : 
      46             :   
      47             : 
      48             : }
      49             : 
      50             : #endif

Generated by: LCOV version 1.16