00001 #ifndef __F_IterativeShiftedLS_H__ 00002 #define __F_IterativeShiftedLS_H__ 00003 00004 00028 #include <stdio.h> 00029 #include "F_IterativeLS.hpp" 00030 00031 00032 class F_IterativeShiftedLS : public F_IterativeLS 00033 { 00034 protected: 00035 00036 double lambda; // shift coeff 00037 double delta; 00038 00039 public: 00040 F_IterativeShiftedLS(int maxIterations, double alambda=1.0, double adelta=0.01, double epsilon=1.0e-4) 00041 :F_IterativeLS(maxIterations, epsilon) 00042 { lambda= alambda; delta= adelta; } 00043 virtual ~F_IterativeShiftedLS(){} 00044 00045 virtual void setLambda(double alambda) 00046 { lambda= alambda; } 00047 00048 }; 00049 00050 #endif 00051 00052