46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
#pragma once
|
|
#include <string>
|
|
|
|
class Settings {
|
|
public:
|
|
static bool WRITE_FULL_STATISTICS_TO_FILE;
|
|
|
|
static int Iterations;
|
|
static long int InitPopSize;
|
|
static float InitRatioBetweenPops;
|
|
|
|
// Common breeding strategies parameters
|
|
static double BirthRate;
|
|
static double NaturalDeathRate;
|
|
|
|
// Verhulst breeding strategy default parameters
|
|
static long int KMaxParameter; // r*X*(1 - X/KMax)
|
|
|
|
// Inbreeding/Outbreeding model parameters
|
|
static int OffspringsMean;
|
|
static float CoadaptiveThreshold;
|
|
static float CoadaptiveMinimumP;
|
|
static float CoadaptiveMaximumTrait;
|
|
static float DiseaseThreshold;
|
|
static std::string CoadaptiveGenesInteraction;
|
|
static std::string DiseaseGenesInteraction;
|
|
|
|
static std::string BreedingStrategy;
|
|
static std::string GenToPhenStrategy;
|
|
static std::string PhenToFitStrategy;
|
|
static std::string RecombinationStrategy;
|
|
|
|
static double ProbMtDNARecomb;
|
|
static int PopulationHomoInitSize;
|
|
static int PopulationAncientInitSize;
|
|
static double migrationPartHomoToAncient;
|
|
static double migrationPartAncientToHomo;
|
|
static int generationsPerMigration;
|
|
static int locusLength;
|
|
static double percentDiffLoci;
|
|
static int numLoci;
|
|
|
|
public:
|
|
static void initScript(std::string fileName);
|
|
};
|