Antkeeper  0.0.1
Functions
ant-cladogenesis.hpp File Reference
#include "game/ant/ant-genome.hpp"
#include "game/ant/ant-gene-pool.hpp"
#include <memory>
#include <random>

Go to the source code of this file.

Functions

template<class URBG >
std::unique_ptr< ant_genomeant_cladogenesis (const ant_gene_pool &pool, URBG &urbg)
 Generates an ant genome from a gene pool. More...
 

Function Documentation

◆ ant_cladogenesis()

template<class URBG >
std::unique_ptr<ant_genome> ant_cladogenesis ( const ant_gene_pool pool,
URBG &  urbg 
)

Generates an ant genome from a gene pool.

Template Parameters
URBGUniform random bit generator type.
Parameters
poolAnt gene pool.
urbgUniform random bit generator object.
Returns
New genome.

Definition at line 39 of file ant-cladogenesis.hpp.