[mareframe] Annotation of /trunk/paramin-beta/linesearch.cc
Annotation of /trunk/paramin-beta/linesearch.cc
Parent Directory
| Revision Log
Revision 1 -
(view)
(download)
1 : |
agomez |
1 |
#include "linesearch.h" |
2 : |
|
|
#include "mathfunc.h"
|
3 : |
|
|
|
4 : |
|
|
// ********************************************************
|
5 : |
|
|
// Functions for base class linesearch
|
6 : |
|
|
// ********************************************************
|
7 : |
|
|
LineSearch::LineSearch() {
|
8 : |
|
|
numAlpha = 200;
|
9 : |
|
|
}
|
10 : |
|
|
|
11 : |
|
|
LineSearch::~LineSearch() {
|
12 : |
|
|
}
|
13 : |
|
|
|
14 : |
|
|
double LineSearch::getBestF() {
|
15 : |
|
|
return f;
|
16 : |
|
|
}
|
17 : |
|
|
|
18 : |
|
|
const DoubleVector& LineSearch::getBestX() {
|
19 : |
|
|
return x;
|
20 : |
|
|
}
|
21 : |
|
|
|
|