FFPopSim  2.0
Library for Population Genetics
 All Classes Files Functions Variables Macros Pages
clone_t Struct Reference

clone with a single genotype and a vector of phenotypic traits. More...

#include <ffpopsim_highd.h>

Public Member Functions

 clone_t (int n_traits=0)
 
bool operator== (const clone_t &other) const
 
bool operator!= (const clone_t &other) const
 
bool operator< (const clone_t &other) const
 
bool operator> (const clone_t &other) const
 

Public Attributes

boost::dynamic_bitset genotype
 
vector< double > trait
 
double fitness
 
int clone_size
 

Detailed Description

clone with a single genotype and a vector of phenotypic traits.

Note: it uses dynamic bitsets because they require little memory.

Constructor & Destructor Documentation

clone_t::clone_t ( int  n_traits = 0)
inline

Member Function Documentation

bool clone_t::operator!= ( const clone_t other) const
inline
bool clone_t::operator< ( const clone_t other) const
inline
bool clone_t::operator== ( const clone_t other) const
inline
bool clone_t::operator> ( const clone_t other) const
inline

Member Data Documentation

int clone_t::clone_size
double clone_t::fitness
boost::dynamic_bitset clone_t::genotype
vector<double> clone_t::trait

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