Evolutionary Diversification in Anolis Lizards
|
Represents single run. More...
#include <simulation.hpp>
Public Member Functions | |
Simulation (int argc, char *argv[]) | |
Parse command arguments. | |
~Simulation () | |
destructor in cpp for incomplete type | |
void | run () |
Top level function that should be called from main() | |
Private Member Functions | |
void | evolve () |
Call life_cycle() repeatedly. | |
void | life_cycle () |
One step forward. More... | |
void | write_snapshot (const size_t time, std::ostream &ost) const |
output genotype frequencies for each patch | |
Private Attributes | |
std::vector< std::vector< Patch > > | population |
Two-dimensional matrix of Patch. | |
bool | verbose_ = false |
Print verbose output. | |
Represents single run.