13 #ifndef SIMULATION_HPP_ 14 #define SIMULATION_HPP_ std::vector< std::vector< Patch > > population
Two-dimensional matrix of Patch.
Definition: simulation.hpp:69
Simulation(int argc, char *argv[])
Parse command arguments.
Definition: simulation.cpp:104
void run()
Top level function that should be called from main()
Definition: simulation.cpp:173
void write_snapshot(const size_t time, std::ostream &ost) const
output genotype frequencies for each patch
Definition: simulation.cpp:273
void life_cycle()
One step forward.
Definition: simulation.cpp:232
Represents single run.
Definition: simulation.hpp:29
Definition: individual.cpp:15
~Simulation()
destructor in cpp for incomplete type
void evolve()
Call life_cycle() repeatedly.
Definition: simulation.cpp:191
bool verbose_
Print verbose output.
Definition: simulation.hpp:72