| 1 |
tim |
969 |
#ifndef _CONJUGATEMINIMIZER_H_
|
| 2 |
|
|
#define _CONJUGATEMINIMIZER_H_
|
| 3 |
|
|
|
| 4 |
|
|
#include "MinimizerBase.hpp"
|
| 5 |
|
|
|
| 6 |
|
|
class ConjugateMinimizerBase : public MinimizeBase{
|
| 7 |
|
|
public:
|
| 8 |
|
|
bool isSolvable();
|
| 9 |
|
|
void calcDirection(vector<double>& direction) = 0;
|
| 10 |
|
|
|
| 11 |
|
|
protected:
|
| 12 |
|
|
NLOPFirstDerive * model;
|
| 13 |
|
|
|
| 14 |
|
|
};
|
| 15 |
|
|
|
| 16 |
|
|
class FRConjugateMinimizer : public ConjugateMinimizerBase{
|
| 17 |
|
|
public:
|
| 18 |
|
|
void calcDirection(vector<double>& direction);
|
| 19 |
|
|
|
| 20 |
|
|
};
|
| 21 |
|
|
|
| 22 |
|
|
class PRConjugateMinimizer : public ConjugateMinimizerBase{
|
| 23 |
|
|
public:
|
| 24 |
|
|
void calcDirection(vector<double>& direction) = 0;
|
| 25 |
|
|
};
|
| 26 |
|
|
|
| 27 |
|
|
#endif
|