| 1 |
/*************************************************************************** |
| 2 |
fstat.h - bibliotheque permettant de calculer et de |
| 3 |
présenter les indices de Wright |
| 4 |
------------------- |
| 5 |
begin : Wed Oct 11 2000 |
| 6 |
copyright : (C) 2000 by Olivier Langella |
| 7 |
email : [email protected] |
| 8 |
***************************************************************************/ |
| 9 |
|
| 10 |
/*************************************************************************** |
| 11 |
* * |
| 12 |
* This program is free software; you can redistribute it and/or modify * |
| 13 |
* it under the terms of the GNU General Public License as published by * |
| 14 |
* the Free Software Foundation; either version 2 of the License, or * |
| 15 |
* (at your option) any later version. * |
| 16 |
* * |
| 17 |
***************************************************************************/ |
| 18 |
|
| 19 |
#ifndef FSTAT_H |
| 20 |
#define FSTAT_H |
| 21 |
|
| 22 |
#include"jeupop.h" |
| 23 |
#include"metapop.h" |
| 24 |
|
| 25 |
// calculs et affichage de Fstat |
| 26 |
class Fstat { |
| 27 |
public : |
| 28 |
Fstat(MetaPop * Pmetapop); |
| 29 |
~Fstat(); |
| 30 |
|
| 31 |
void f_affparlocus (ostream & sortie) const; |
| 32 |
//void f_calcFstFisFit (MatriceLD & matrice) const {f_calcFstFisFit (matrice, _Pmetapop);}; |
| 33 |
void f_calcFstFisFit (JeuMatriceLD & matrices) const; |
| 34 |
|
| 35 |
void f_rempliVcalcStrucPop (unsigned int niveau) { |
| 36 |
_Pjeupop->f_rempliVcalcStrucPop(niveau); |
| 37 |
|
| 38 |
_tabPstrucpop = _Pjeupop->_VcalcStrucPop; |
| 39 |
} |
| 40 |
|
| 41 |
private : |
| 42 |
void f_calcFstFisFit (MatriceLD & matrice, const MetaPop * Pmetapop) const; |
| 43 |
void f_calcFstFisFit (JeuMatriceLD & matrices, const MetaPop * Pmetapop) const; |
| 44 |
|
| 45 |
MetaPop * _Pmetapop; |
| 46 |
Jeupop * _Pjeupop; |
| 47 |
|
| 48 |
vector<StrucPop*> _tabPstrucpop; |
| 49 |
|
| 50 |
public: |
| 51 |
|
| 52 |
struct Anomalie{ |
| 53 |
|
| 54 |
int le_pb; |
| 55 |
Anomalie (int i):le_pb(i){}; |
| 56 |
}; |
| 57 |
|
| 58 |
|
| 59 |
}; |
| 60 |
#endif |
| 61 |
|