Files
DEC/DEC_GUI/DEC-0.0/DerevyankoReport.h
2024-10-03 18:43:04 +07:00

86 lines
2.7 KiB
C++

#pragma once
#include "population/Population.h"
#include <QVector>
#include <QString>
class DerevyankoReport{
public:
static void reportRFBR2013_01();
static BisexualPopulation* populationFactory(int size, std::string initMtGenome);
static void separatePop(QString popName, double founder, int sepPopInd);
static void evolution(int evol_time);
static std::string initMtDNA;
static std::string initMtDNA_G;
static std::vector<std::string> initMtDNAgui;
static std::vector<std::string> initMtDNA_Ggui;
static int basePopSize;
static float initBirthRate;
static float deltaBirthRate;
static BisexualPopulation* pop_f;
static BisexualPopulation* pop_G;
static BisexualPopulation* pop_e;
static BisexualPopulation* pop_F;
static BisexualPopulation* pop_d;
static BisexualPopulation* pop_E;
static BisexualPopulation* pop_c;
static BisexualPopulation* pop_D;
static BisexualPopulation* pop_b;
static BisexualPopulation* pop_a;
static BisexualPopulation* pop_A;
static BisexualPopulation* pop_B;
static BisexualPopulation* pop_C;
static int genPerMigr_f_G;
static float part_f_to_G;
static float part_G_to_f;
static int genPerMigr_A_B;
static int genPerMigr_A_C;
static int genPerMigr_A_D;
static int genPerMigr_A_E;
static int genPerMigr_A_F;
static float part_A_to_B;
static float part_B_to_A;
static float part_A_to_C;
static float part_A_to_D;
static float part_A_to_E;
static float part_A_to_F;
static float fraction_e_founder;
static float fraction_F_founder;
static float fraction_E_founder;
static float fraction_D_founder;
static float fraction_C_founder;
static float fraction_B_founder;
static QVector<double> popSize_f;
static QVector<double> popSize_G;
static QVector<double> popSize_e;
static QVector<double> popSize_F;
static QVector<double> popSize_d;
static QVector<double> popSize_E;
static QVector<double> popSize_c;
static QVector<double> popSize_D;
static QVector<double> popSize_b;
static QVector<double> popSize_a;
static QVector<double> popSize_A;
static QVector<double> popSize_B;
static QVector<double> popSize_C;
static QVector<BisexualPopulation*> pops;
static QVector<QString> populNames;
//static QVector<int> globalGenerations;
static int globalGenerations;
static QVector<int> maxYval;
static QVector< QVector<double> > popSizes;
static QVector< QVector<double> > generations;
static void initVectors();
static void fillVectors(BisexualPopulation* pop, int popNum);
};