Antkeeper  0.0.1
Public Attributes | List of all members
ant::gene::polyphenic_gene< T > Struct Template Reference

Gene with caste-specific phenes. More...

#include <polyphenic-gene.hpp>

Public Attributes

std::string name
 Gene name. More...
 
std::unordered_map< caste, T > phenes
 Caste-specific phene definitions. More...
 

Detailed Description

template<class T>
struct ant::gene::polyphenic_gene< T >

Gene with caste-specific phenes.

Template Parameters
TPhene type.
See also
https://en.wikipedia.org/wiki/Polyphenism

Definition at line 38 of file polyphenic-gene.hpp.

Member Data Documentation

◆ name

template<class T >
std::string ant::gene::polyphenic_gene< T >::name

Gene name.

Definition at line 41 of file polyphenic-gene.hpp.

◆ phenes

template<class T >
std::unordered_map<caste, T> ant::gene::polyphenic_gene< T >::phenes

Caste-specific phene definitions.

Definition at line 44 of file polyphenic-gene.hpp.


The documentation for this struct was generated from the following file: