Evolutionary Diversification in Anolis Lizards
Public Member Functions | Private Member Functions | Private Attributes | List of all members
edal::Simulation Class Reference

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.
 

Detailed Description

Represents single run.


The documentation for this class was generated from the following files: