Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / Plugin / point.hxx
1 // --- C++ ---
2 // --- coding: latin_1 ---
3 //
4 //    File
5 //      creation : 2007-03-30.16.58.50
6 //      revision : $Id$
7 //
8 //    Copyright © 2007 Commissariat à l'Energie Atomique
9 //      par Gilles ARNAUD (DM2S/SFME/LETR)
10 //        C.E. Saclay; Bat 454; 91191 GIF/YVETTE CEDEX; France
11 //        Tel: 01 69 08 38 86; Fax : 33 1 69 08 85 68 
12 //        Gilles.Arnaud@cea.fr
13 // 
14 //    Object
15 //      particules du simplex
16 // 
17 //___________________________________________________________________
18
19
20 #ifndef __POINT__
21 #define __POINT__
22
23 #include <vector>
24
25 #include "aleas.hxx"
26 #include "solution.hxx"
27
28 class Point {
29     private:
30         int     size, etat;
31         double      epsil;
32         Cube    *rnd;
33         Solution    *start;
34         std::vector<double>     *courant, *baryc, *minim;
35
36         std::vector<double> *symetrique(std::vector<double> &, std::vector<double> &);
37         std::vector<double> *milieu(std::vector<double> &, std::vector<double> &);
38
39     public:
40         Point(long);
41         ~Point(void);
42         void reinit(void);
43         void mute(Solution &, std::vector<double> &, std::vector<double> &);
44         Solution *inform(std::vector<double> &);
45         std::vector<double> *next(void);
46 };
47
48 #endif
49