00001
00002 #ifndef ParametreH
00003 #define ParametreH
00004
00005 #endif
00006
00007 #include <iostream.h>
00008 #include <conio.h>
00009 #include <stdlib.h>
00010
00015 enum Loi {UniformeContinue,Exponentielle,LoiGamma,Chi2,Normale,Student,
00016 Beta1espece,Weibull,Lognormale,Pareto,GPD,StudentApprochee,
00017 StudentApprocheeTrans,GPDTrans,Beta2Prop,Import,Inconnue};
00018
00028 enum Mode {PDF, CDF, Simul, INVCDF, Survie};
00033 typedef struct cell
00034 {
00035 double Param;
00036 struct cell *precedent, *suivant;
00037 }CELL;
00038
00043 class Parametre
00044 {
00045 public :
00046
00051 Parametre ();
00052
00057 ~Parametre ();
00058
00064 bool Vide ();
00065
00072 InsereTete (double x);
00073
00080 InsereQueue (double x);
00081
00088 double element (int i);
00089
00094 int Comptage();
00095
00102 bool VerifParam(Loi NomLoi);
00103
00109 Parametre & Parametre::operator = (const Parametre &P);
00110
00115 CELL *tete, *queue;
00116
00117 };