Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] View of /trunk/paramin-beta/linesearch.h
[mareframe] / trunk / paramin-beta / linesearch.h Repository:
ViewVC logotype

View of /trunk/paramin-beta/linesearch.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (download) (annotate)
Mon Feb 10 17:09:07 2014 UTC (10 years, 3 months ago) by agomez
File size: 557 byte(s)
Initial version based on Gadget 2.2.00
#ifndef linesearch_h
#define linesearch_h

#include "paramin.h"
#include "netinterface.h"

class NetInterface;
class Condition;

class LineSearch {
protected:
  int numAlpha;
public:
  LineSearch();
  virtual ~LineSearch();
  /**
   * \brief best function value found in linesearch.
   */
  double f;           
  /**
   * \brief best point found in linesearch.
   */
  DoubleVector x;           
  //int fail;
  double getBestF();
  const DoubleVector& getBestX();
  virtual double getAlpha() = 0;
  virtual int computeConditionFunction() = 0;
};


#endif

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge