20 #ifndef DEF_SIMULATION
21 #define DEF_SIMULATION
50 void set_sizePerX(
int);
51 void set_sizePerA(
int);
52 void set_nbLociA(
int);
53 void set_nbLociX(
int);
54 void set_mu(
double,
double);
55 void set_mu(
double,
double,
double,
double);
56 void set_mu(
double,
double,
double,
double,
double,
double,
double,
double);
96 std::vector<double> growthFactor;
99 std::vector<int> diversityX;
100 std::string fileoutput;
101 std::string directoryLoad;
102 std::string directorySave;
114 int successive_classic();
116 int successive_mito();
118 int successive_indiv_nodna();
139 std::string fileGenealogy = fileoutput +
".gene";
140 epsilon.set_mating_system(matsys);
144 epsilon.burnin(burninT,100,10);
146 for(
int j(0);j<nstep;++j)
152 for (
unsigned k(0); k<diversityX.size();++k)
154 output_main(diversityX[k],epsilon);
void set_dnaComplexity(int a)
Definition: simulation.cpp:596
void set_save_on(std::string dirName)
Definition: simulation.cpp:653
void set_sample(int)
Definition: simulation.cpp:470
void set_verbose_on()
Definition: simulation.cpp:643
void evolve(int gen)
Definition: population.h:528
void write_smartFormat(std::string const &filename) const
void set_fileoutput(std::string)
Definition: simulation.cpp:638
void set_arlequin_on()
Definition: simulation.cpp:659
Definition: population.h:14
Definition: simulation.h:25
void set_matsys(int)
Definition: simulation.cpp:485
void set_inbreeding(int)
Definition: simulation.cpp:490
void set_sizeMt(int)
Definition: simulation.cpp:500
~Simulation()
Definition: simulation.cpp:136
void load_directory(std::string)
Definition: simulation.cpp:356
void set_header_on()
Definition: simulation.cpp:669
void set_seed(int)
Definition: simulation.cpp:458
void export_file(std::string filename)
Definition: simulation.cpp:362
void header_write()
Definition: simulation.cpp:684
void set_growthFactor(double, double, double)
Definition: simulation.cpp:584
void load_file(std::string)
Definition: simulation.cpp:181
bool get_verbose()
Definition: simulation.cpp:679
void set_fasta_on()
Definition: simulation.cpp:648
Simulation & operator=(Simulation const &)
Definition: simulation.cpp:140
void set_popsize(int)
Definition: simulation.cpp:463
void evolve_gene(int gen, std::string filename)
Definition: population.h:539
int get_nSimu()
Definition: simulation.cpp:674
void set_nstep(int)
Definition: simulation.cpp:480
void set_growthFactor(double, double, double)
Definition: population.h:268
void set_burninT(double)
Definition: simulation.cpp:591
void set_genealogy_on()
Definition: simulation.cpp:664
void check_parameters()
Definition: simulation.cpp:412
void set_nSimu(int)
Definition: simulation.cpp:495
int print_help()
Definition: simulation.cpp:819
void set_diversityX(int a)
Definition: simulation.cpp:625
void set_step(int)
Definition: simulation.cpp:475