Actual source code: taolinearsolver_ga.h

      1: #ifndef TAOLINEARSOLVER_GA_H
      2: #define TAOLINEARSOLVER_GA_H

     4:  #include taolinearsolver.h
      5: #include "ga.h"

      7: class TaoLinearSolverGa: public  TaoLinearSolver {

      9:  protected:
     10:   GAMat mm;
     11:
     12:  public:
     13:   int linear_iters;
     14:
     15:   TaoLinearSolverGa();
     16:   virtual ~TaoLinearSolverGa(void){};
     17:
     18:   virtual int SetOperator(TaoMat*);
     19:
     20:   virtual int Solve(TaoVec*,TaoVec*);
     21:
     22:   virtual int GetNumberIterations(int *);
     23:   virtual int SetOptions();
     24:
     25:   virtual int SetTrustRadius(double);
     26:
     27:   virtual int Duplicate(TaoLinearSolver**);
     28:   virtual int View();
     29:
     30:   virtual int SetTolerances(double,double,double,int);
     31:
     32: };

     34: #endif /* TAOLINEARSOLVER_GA_H */