Empirical
Public Types | Public Member Functions | Public Attributes | List of all members
emp::datastruct::mut_landscape_info< PHEN_TYPE > Struct Template Reference

The default - an empty struct. More...

#include <Systematics.h>

Public Types

using phen_t = PHEN_TYPE
 
using has_phen_t = std::true_type
 
using has_mutations_t = std::true_type
 
using has_fitness_t = std::true_type
 

Public Member Functions

const PHEN_TYPE & GetPhenotype () const
 This taxon's phenotype (for assessing phenotypic change) More...
 
const double GetFitness () const
 
void RecordMutation (std::unordered_map< std::string, int > muts)
 
void RecordFitness (double fit)
 
void RecordPhenotype (PHEN_TYPE phen)
 

Public Attributes

std::unordered_map< std::string, int > mut_counts
 
DataNode< double, data::Current, data::Rangefitness
 
PHEN_TYPE phenotype
 This taxon's fitness (for assessing deleterious mutational steps) More...
 

Detailed Description

template<typename PHEN_TYPE>
struct emp::datastruct::mut_landscape_info< PHEN_TYPE >

The default - an empty struct.

Member Typedef Documentation

template<typename PHEN_TYPE >
using emp::datastruct::mut_landscape_info< PHEN_TYPE >::has_fitness_t = std::true_type
template<typename PHEN_TYPE >
using emp::datastruct::mut_landscape_info< PHEN_TYPE >::has_mutations_t = std::true_type
template<typename PHEN_TYPE >
using emp::datastruct::mut_landscape_info< PHEN_TYPE >::has_phen_t = std::true_type
template<typename PHEN_TYPE >
using emp::datastruct::mut_landscape_info< PHEN_TYPE >::phen_t = PHEN_TYPE

Track information related to the mutational landscape Maps a string representing a type of mutation to a count representing the number of that type of mutation that occured to bring about this taxon.

Member Function Documentation

template<typename PHEN_TYPE >
const double emp::datastruct::mut_landscape_info< PHEN_TYPE >::GetFitness ( ) const
inline
template<typename PHEN_TYPE >
const PHEN_TYPE& emp::datastruct::mut_landscape_info< PHEN_TYPE >::GetPhenotype ( ) const
inline

This taxon's phenotype (for assessing phenotypic change)

template<typename PHEN_TYPE >
void emp::datastruct::mut_landscape_info< PHEN_TYPE >::RecordFitness ( double  fit)
inline
template<typename PHEN_TYPE >
void emp::datastruct::mut_landscape_info< PHEN_TYPE >::RecordMutation ( std::unordered_map< std::string, int >  muts)
inline
template<typename PHEN_TYPE >
void emp::datastruct::mut_landscape_info< PHEN_TYPE >::RecordPhenotype ( PHEN_TYPE  phen)
inline

Member Data Documentation

template<typename PHEN_TYPE >
DataNode<double, data::Current, data::Range> emp::datastruct::mut_landscape_info< PHEN_TYPE >::fitness
template<typename PHEN_TYPE >
std::unordered_map<std::string, int> emp::datastruct::mut_landscape_info< PHEN_TYPE >::mut_counts
template<typename PHEN_TYPE >
PHEN_TYPE emp::datastruct::mut_landscape_info< PHEN_TYPE >::phenotype

This taxon's fitness (for assessing deleterious mutational steps)


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