Nemo  2.3.46
TTNeutralGenes Class Reference

Microsatellites genome. More...

#include <ttneutralgenes.h>

+ Inheritance diagram for TTNeutralGenes:
+ Collaboration diagram for TTNeutralGenes:

Public Member Functions

 TTNeutralGenes ()
 
 TTNeutralGenes (const TTNeutralGenes &T)
 
virtual ~TTNeutralGenes ()
 
Accessors
unsigned int get_ploidy ()
 
unsigned int get_locus_num ()
 
unsigned int get_allele_num ()
 
void set_proto (TProtoNeutralGenes *proto)
 
void set_locus_num (int value)
 
void set_allele_num (int value)
 
void set_mut_rate (double value)
 
void set_2L (unsigned int val)
 
void set_recomb_rate (double value)
 
void set_mut_model (int value)
 
void set_init_model (unsigned short val)
 
void set_mut_func_ptr (void(TTNeutralGenes::*theFunc)(void))
 
void set_inherit_func_ptr (void(TProtoNeutralGenes::*theFunc)(sex_t, unsigned char *, unsigned char **))
 
void set_allele (unsigned int loc, unsigned int al, unsigned char val)
 
Mutation models
void mutate_SSM ()
 
void mutate_KAM ()
 
void mutate_2all ()
 
void mutate_NULL ()
 
Implementations
virtual TTNeutralGenesoperator= (const TTrait &T)
 
virtual bool operator== (const TTrait &T)
 
virtual bool operator!= (const TTrait &T)
 
virtual void init ()
 
virtual void init_sequence ()
 
virtual void reset ()
 
virtual void * set_trait (void *value)
 
virtual void ** get_sequence () const
 
virtual double get_allele_value (int loc, int all)
 
virtual void set_allele_value (unsigned int locus, unsigned int allele, double value)
 
virtual void set_sequence (void **seq)
 
virtual trait_t get_type () const
 
virtual void set_value ()
 
virtual void * getValue () const
 
virtual void inherit (TTrait *mother, TTrait *father)
 
virtual void mutate ()
 
virtual void show_up ()
 
virtual TTNeutralGenesclone ()
 
virtual void store_data (BinaryStorageBuffer *saver)
 
virtual bool retrieve_data (BinaryStorageBuffer *reader)
 
- Public Member Functions inherited from TTrait
virtual ~TTrait ()
 
- Public Member Functions inherited from StorableComponent
virtual ~StorableComponent ()
 

Private Attributes

TProtoNeutralGenes_myProto
 
unsigned int _allele_num
 
unsigned int _locus_num
 
unsigned int _ploidy
 
double _mut_rate
 
double _recomb_rate
 
unsigned int _mut_model
 
unsigned int _2L
 
unsigned short _init_model
 
void(TTNeutralGenes::* _mutate_func_ptr )(void)
 
void(TProtoNeutralGenes::* _inherit_func_ptr )(sex_t, unsigned char *, unsigned char **)
 
unsigned char ** _sequence
 
const trait_t _type
 

Detailed Description

Microsatellites genome.

Constructor & Destructor Documentation

TTNeutralGenes::TTNeutralGenes ( )
inline

Referenced by clone().

double _recomb_rate
Definition: ttneutralgenes.h:61
unsigned short _init_model
Definition: ttneutralgenes.h:64
const trait_t _type
Definition: ttneutralgenes.h:71
unsigned int _mut_model
Definition: ttneutralgenes.h:62
TProtoNeutralGenes * _myProto
Definition: ttneutralgenes.h:55
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:65
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:66
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
#define NTRL
Definition: types.h:70
unsigned int _allele_num
Definition: ttneutralgenes.h:57
unsigned int _ploidy
Definition: ttneutralgenes.h:59
double _mut_rate
Definition: ttneutralgenes.h:60
TTNeutralGenes::TTNeutralGenes ( const TTNeutralGenes T)
inline
80  : _myProto(T._myProto),
84  _sequence(0), _type(NTRL) { }
double _recomb_rate
Definition: ttneutralgenes.h:61
unsigned short _init_model
Definition: ttneutralgenes.h:64
const trait_t _type
Definition: ttneutralgenes.h:71
unsigned int _mut_model
Definition: ttneutralgenes.h:62
TProtoNeutralGenes * _myProto
Definition: ttneutralgenes.h:55
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:65
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:66
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
#define NTRL
Definition: types.h:70
unsigned int _2L
Definition: ttneutralgenes.h:63
unsigned int _allele_num
Definition: ttneutralgenes.h:57
unsigned int _ploidy
Definition: ttneutralgenes.h:59
double _mut_rate
Definition: ttneutralgenes.h:60
TTNeutralGenes::~TTNeutralGenes ( )
virtual

References _ploidy, and _sequence.

433 {
434  if(_sequence != NULL){
435  for(unsigned int i = 0; i < _ploidy; i++)
436  delete [] _sequence[i];
437  delete [] _sequence;
438  }
439 }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _ploidy
Definition: ttneutralgenes.h:59

Member Function Documentation

virtual TTNeutralGenes* TTNeutralGenes::clone ( )
inlinevirtual

Implements TTrait.

References TTNeutralGenes().

139 {return new TTNeutralGenes(*this);}
TTNeutralGenes()
Definition: ttneutralgenes.h:75
unsigned int TTNeutralGenes::get_allele_num ( )
inline

References _allele_num.

92 {return _allele_num;}
unsigned int _allele_num
Definition: ttneutralgenes.h:57
virtual double TTNeutralGenes::get_allele_value ( int  loc,
int  all 
)
inlinevirtual

Implements TTrait.

129  {return ( !(loc<(int)_locus_num) || !(all<(int)_ploidy) ? 0 : (double)_sequence[all][loc]);}
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _ploidy
Definition: ttneutralgenes.h:59
unsigned int TTNeutralGenes::get_locus_num ( )
inline

References _locus_num.

91 {return _locus_num;}
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int TTNeutralGenes::get_ploidy ( )
inline

References _ploidy.

90 {return _ploidy;}
unsigned int _ploidy
Definition: ttneutralgenes.h:59
virtual void** TTNeutralGenes::get_sequence ( ) const
inlinevirtual

Implements TTrait.

References _sequence.

127 {return (void**)_sequence;}
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
virtual trait_t TTNeutralGenes::get_type ( ) const
inlinevirtual

Implements TTrait.

References _type.

133 {return _type;}
const trait_t _type
Definition: ttneutralgenes.h:71
virtual void* TTNeutralGenes::getValue ( ) const
inlinevirtual

Implements TTrait.

135 {return 0;}
void TTNeutralGenes::inherit ( TTrait mother,
TTrait father 
)
virtual

Implements TTrait.

References _inherit_func_ptr, _myProto, _sequence, FEM, TTrait::get_sequence(), and MAL.

523 {
524  unsigned char** mother_seq = (unsigned char**)mother->get_sequence();
525  unsigned char** father_seq = (unsigned char**)father->get_sequence();
526 
527  (_myProto->* _inherit_func_ptr) (FEM, _sequence[FEM], mother_seq);
528 
529  (_myProto->* _inherit_func_ptr) (MAL, _sequence[MAL], father_seq);
530 }
TProtoNeutralGenes * _myProto
Definition: ttneutralgenes.h:55
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:66
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
virtual void ** get_sequence() const =0
sequence accessor.
Definition: types.h:37
Definition: types.h:37
void TTNeutralGenes::init ( )
virtual

Implements TTrait.

References _locus_num, _ploidy, _sequence, and fatal().

Referenced by operator=(), and set_sequence().

444 {
445  if(_sequence != NULL)
446  fatal("TTNeutralGenes::init::_sequence is not NULL !\n");
447 
448  _sequence = new unsigned char* [_ploidy];
449 
450  for(unsigned int i = 0; i < _ploidy; i++) {
451  _sequence[i] = new unsigned char[_locus_num];
452  for(unsigned int j = 0; j < _locus_num; ++j)
453  _sequence[i][j] = 1;
454  }
455 }
void fatal(const char *str,...)
Definition: output.cc:90
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _ploidy
Definition: ttneutralgenes.h:59
void TTNeutralGenes::init_sequence ( )
virtual

Implements TTrait.

References _allele_num, _init_model, _locus_num, _ploidy, _sequence, RAND::Bernoulli(), and RAND::Uniform().

460 {
461  if(_sequence == NULL) { //that should never happen
462  _sequence = new unsigned char* [_ploidy];
463  for(unsigned int i = 0; i < _ploidy; i++)
464  _sequence[i] = new unsigned char[_locus_num];
465  }
466 
467  if(_init_model == 1) {
468  for(unsigned int i = 0; i < _ploidy; ++i)
469  for(unsigned int j = 0; j < _locus_num; j++) {
470  if(_allele_num > 2)
471  _sequence[i][j] = (unsigned char)RAND::Uniform(_allele_num);
472  else
473  _sequence[i][j] = (unsigned char)RAND::Bernoulli(0.5);
474  }
475  } else {
476  for(unsigned int i = 0; i < _ploidy; ++i)
477  for(unsigned int j = 0; j < _locus_num; j++)
478  _sequence[i][j] = 0;
479  }
480 }
unsigned short _init_model
Definition: ttneutralgenes.h:64
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
static double Uniform()
Generates a random number from [0.0, 1.0[ uniformly distributed.
Definition: Uniform.h:101
static double Bernoulli(double p)
Definition: Uniform.h:406
unsigned int _allele_num
Definition: ttneutralgenes.h:57
unsigned int _ploidy
Definition: ttneutralgenes.h:59
virtual void TTNeutralGenes::mutate ( )
inlinevirtual

Implements TTrait.

References _mutate_func_ptr.

137 {(this->*_mutate_func_ptr) ();}
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:65
void TTNeutralGenes::mutate_2all ( )
inline

References _2L, _locus_num, _mut_rate, _sequence, RAND::RandBool(), and RAND::Uniform().

Referenced by TProtoNeutralGenes::setParameters().

577 {
578  register unsigned int mutAll, mutLocus;
579  unsigned int NbMut = RAND::Binomial(_mut_rate, _2L);
580 
581  for( ; NbMut > 0; NbMut--) {
582  mutLocus = RAND::Uniform( _locus_num);
583  mutAll = RAND::RandBool(); //RAND::Uniform( _ploidy); <--- only diploids for now
584  _sequence[mutAll][mutLocus] = !_sequence[mutAll][mutLocus];
585  }
586 }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _2L
Definition: ttneutralgenes.h:63
static double Uniform()
Generates a random number from [0.0, 1.0[ uniformly distributed.
Definition: Uniform.h:101
double _mut_rate
Definition: ttneutralgenes.h:60
static bool RandBool()
Returns a random boolean.
Definition: Uniform.h:139
void TTNeutralGenes::mutate_KAM ( )

References _2L, _allele_num, _locus_num, _mut_rate, _sequence, RAND::RandBool(), and RAND::Uniform().

Referenced by TProtoNeutralGenes::setParameters().

558 {
559  unsigned int mutAll, mutLocus;
560  unsigned char mut;
561  unsigned int NbMut = RAND::Binomial(_mut_rate, _2L);
562 
563  for(; NbMut != 0; NbMut--) {
564  mutLocus = RAND::Uniform( _locus_num);
565  mutAll = RAND::RandBool(); //RAND::Uniform( _ploidy); <--- only diploids for now
566  //assign an arbitrary allele value:
567  do{
568  mut = (unsigned char) (RAND::Uniform(_allele_num));
569  } while (mut == _sequence[mutAll][mutLocus]);
570  _sequence[mutAll][mutLocus] = mut;
571  }
572 }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _2L
Definition: ttneutralgenes.h:63
static double Uniform()
Generates a random number from [0.0, 1.0[ uniformly distributed.
Definition: Uniform.h:101
unsigned int _allele_num
Definition: ttneutralgenes.h:57
double _mut_rate
Definition: ttneutralgenes.h:60
static bool RandBool()
Returns a random boolean.
Definition: Uniform.h:139
void TTNeutralGenes::mutate_NULL ( )
inline

Referenced by TProtoNeutralGenes::setParameters().

116 { }
void TTNeutralGenes::mutate_SSM ( )

direction && all == 0

References _2L, _allele_num, _locus_num, _mut_rate, _sequence, RAND::RandBool(), and RAND::Uniform().

Referenced by TProtoNeutralGenes::setParameters().

535 {
536  unsigned int mutAll, mutLocus;
537  bool direction;
538  unsigned int NbMut = RAND::Binomial(_mut_rate, _2L);
539 
540  for(; NbMut != 0; NbMut--)
541  {
542  mutLocus = RAND::Uniform( _locus_num);
543  mutAll = RAND::RandBool(); //RAND::Uniform( _ploidy); <--- only diploids for now
544  direction = RAND::RandBool();
545  //alleles values are from 0 to NtrlAll - 1 !!!
546  if(direction && _sequence[mutAll][mutLocus] < _allele_num-1)
547  _sequence[mutAll][mutLocus] += 1; //one step to the right
548  else if(_sequence[mutAll][mutLocus] > 0) // !direction || all==_allele_num
549  _sequence[mutAll][mutLocus] -= 1; //one step to the left
550  else
551  _sequence[mutAll][mutLocus] += 1;
552  }
553 }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _2L
Definition: ttneutralgenes.h:63
static double Uniform()
Generates a random number from [0.0, 1.0[ uniformly distributed.
Definition: Uniform.h:101
unsigned int _allele_num
Definition: ttneutralgenes.h:57
double _mut_rate
Definition: ttneutralgenes.h:60
static bool RandBool()
Returns a random boolean.
Definition: Uniform.h:139
bool TTNeutralGenes::operator!= ( const TTrait T)
virtual

Implements TTrait.

423  {
424  if(!((*this) == T))
425  return true;
426  else
427  return false;
428  }
TTNeutralGenes & TTNeutralGenes::operator= ( const TTrait T)
virtual

Implements TTrait.

References _2L, _allele_num, _locus_num, _ploidy, _sequence, init(), and reset().

381 {
382  const TTNeutralGenes& TN = dynamic_cast<const TTNeutralGenes&> (T);
383 
384  if(this != &TN) {
385 
386  _locus_num = TN._locus_num;
388  _ploidy = 2; //by default
389  _2L = TN._2L;
390 
391  reset();
392 
393  init();
394 
395  for(unsigned int i = 0; i < _locus_num; ++i) {
396  // for(int j = 0; j < _ploidy; ++j)
397  _sequence[0][i] = TN._sequence[0][i];
398  _sequence[1][i] = TN._sequence[1][i];
399  }
400  }
401 
402  return *this;
403 }
Microsatellites genome.
Definition: ttneutralgenes.h:52
virtual void init()
Definition: ttneutralgenes.cc:443
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _2L
Definition: ttneutralgenes.h:63
unsigned int _allele_num
Definition: ttneutralgenes.h:57
unsigned int _ploidy
Definition: ttneutralgenes.h:59
virtual void reset()
Definition: ttneutralgenes.cc:484
bool TTNeutralGenes::operator== ( const TTrait T)
virtual

Implements TTrait.

References _allele_num, _locus_num, _type, and TTrait::get_type().

408  {
409  if(_type.compare(T.get_type()) != 0) return false;
410  const TTNeutralGenes& TN = dynamic_cast<const TTNeutralGenes&> (T);
411 
412  if(this != &TN) {
413  if(_locus_num != TN._locus_num) return false;
414  if(_allele_num != TN._allele_num) return false;
415  // if(_ploidy != TN._ploidy) return false;
416  }
417  return true;
418  }
const trait_t _type
Definition: ttneutralgenes.h:71
Microsatellites genome.
Definition: ttneutralgenes.h:52
virtual trait_t get_type() const =0
type accessor.
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _allele_num
Definition: ttneutralgenes.h:57
void TTNeutralGenes::reset ( )
virtual

Implements TTrait.

References _ploidy, and _sequence.

Referenced by operator=(), and set_sequence().

485 {
486  if(_sequence != NULL) {
487 
488  for(unsigned int i = 0; i < _ploidy; i++) delete [] _sequence[i];
489 
490  delete [] _sequence;
491 
492  _sequence = NULL;
493  }
494 }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _ploidy
Definition: ttneutralgenes.h:59
virtual bool TTNeutralGenes::retrieve_data ( BinaryStorageBuffer reader)
inlinevirtual

Implements StorableComponent.

References _locus_num, _ploidy, and BinaryStorageBuffer::read().

149  {
150  for(unsigned int i = 0; i < _locus_num; ++i)
151  for(unsigned int j = 0; j < _ploidy; ++j)
152  reader->read(&_sequence[j][i], 1);
153  return true;
154  }
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
void read(void *out, unsigned int nb_bytes)
Definition: binarystoragebuffer.h:147
unsigned int _ploidy
Definition: ttneutralgenes.h:59
void TTNeutralGenes::set_2L ( unsigned int  val)
inline

Referenced by TProtoNeutralGenes::hatch().

98 {_2L = val;}
unsigned int _2L
Definition: ttneutralgenes.h:63
void TTNeutralGenes::set_allele ( unsigned int  loc,
unsigned int  al,
unsigned char  val 
)
inline

Referenced by LCE_NtrlInit::init_allele_freq().

106 {_sequence[al][loc] = val;}
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
void TTNeutralGenes::set_allele_num ( int  value)
inline

Referenced by TProtoNeutralGenes::hatch().

96 {_allele_num = value;}
unsigned int _allele_num
Definition: ttneutralgenes.h:57
virtual void TTNeutralGenes::set_allele_value ( unsigned int  locus,
unsigned int  allele,
double  value 
)
inlinevirtual

Implements TTrait.

131  {assert(locus < _locus_num && allele < 2); _sequence[allele][locus] = (unsigned char)value;}
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
void TTNeutralGenes::set_inherit_func_ptr ( void(TProtoNeutralGenes::*)(sex_t, unsigned char *, unsigned char **)  theFunc)
inline

References _inherit_func_ptr.

Referenced by TProtoNeutralGenes::hatch().

105  {_inherit_func_ptr = theFunc;}
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:66
void TTNeutralGenes::set_init_model ( unsigned short  val)
inline

Referenced by TProtoNeutralGenes::hatch().

101 {_init_model = val;}
unsigned short _init_model
Definition: ttneutralgenes.h:64
void TTNeutralGenes::set_locus_num ( int  value)
inline

Referenced by TProtoNeutralGenes::hatch().

95 {_locus_num = value;}
unsigned int _locus_num
Definition: ttneutralgenes.h:58
void TTNeutralGenes::set_mut_func_ptr ( void(TTNeutralGenes::*)(void)  theFunc)
inline

References _mutate_func_ptr.

Referenced by TProtoNeutralGenes::hatch().

103  {_mutate_func_ptr = theFunc;}
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:65
void TTNeutralGenes::set_mut_model ( int  value)
inline

Referenced by TProtoNeutralGenes::hatch().

100 {_mut_model = value;}
unsigned int _mut_model
Definition: ttneutralgenes.h:62
void TTNeutralGenes::set_mut_rate ( double  value)
inline

Referenced by TProtoNeutralGenes::hatch().

97 {_mut_rate = value;}
double _mut_rate
Definition: ttneutralgenes.h:60
void TTNeutralGenes::set_proto ( TProtoNeutralGenes proto)
inline

Referenced by TProtoNeutralGenes::hatch().

94 {_myProto = proto;}
TProtoNeutralGenes * _myProto
Definition: ttneutralgenes.h:55
void TTNeutralGenes::set_recomb_rate ( double  value)
inline
99 {_recomb_rate = value;}
double _recomb_rate
Definition: ttneutralgenes.h:61
void TTNeutralGenes::set_sequence ( void **  seq)
virtual

Implements TTrait.

References _locus_num, _sequence, init(), and reset().

499 {
500  reset(); init();
501  memcpy(_sequence[0],seq[0],_locus_num);
502  memcpy(_sequence[1],seq[1],_locus_num);
503 }
virtual void init()
Definition: ttneutralgenes.cc:443
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
virtual void reset()
Definition: ttneutralgenes.cc:484
virtual void* TTNeutralGenes::set_trait ( void *  value)
inlinevirtual

Implements TTrait.

126 {return NULL;}
virtual void TTNeutralGenes::set_value ( )
inlinevirtual

Implements TTrait.

134 { }
void TTNeutralGenes::show_up ( )
virtual

Implements TTrait.

References _allele_num, _locus_num, _sequence, and message().

508 {
509  message("\n Trait's type: ntrl\n\
510  locus: %i\n\
511  alleles: %i\n\
512  _sequence:",_locus_num, _allele_num);
513 
514  for(unsigned int i = 0; (i < _locus_num && i < 10); i++)
515  message("\n %i %i",(int)_sequence[0][i],(int)_sequence[1][i]);
516  if(_locus_num > 10) message("\n ...");
517  message("\n");
518 }
void message(const char *message,...)
Definition: output.cc:40
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _allele_num
Definition: ttneutralgenes.h:57
virtual void TTNeutralGenes::store_data ( BinaryStorageBuffer saver)
inlinevirtual

Implements StorableComponent.

References _locus_num, _ploidy, and BinaryStorageBuffer::store().

143  {
144  for(unsigned int i = 0; i < _locus_num; ++i)
145  for(unsigned int j = 0; j < _ploidy; ++j)
146  saver->store(&_sequence[j][i], 1);
147  }
void store(void *stream, unsigned int nb_bytes)
Definition: binarystoragebuffer.h:130
unsigned char ** _sequence
Definition: ttneutralgenes.h:69
unsigned int _locus_num
Definition: ttneutralgenes.h:58
unsigned int _ploidy
Definition: ttneutralgenes.h:59

Member Data Documentation

unsigned int TTNeutralGenes::_2L
private
unsigned int TTNeutralGenes::_allele_num
private
void(TProtoNeutralGenes::* TTNeutralGenes::_inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
private

Referenced by inherit(), and set_inherit_func_ptr().

unsigned short TTNeutralGenes::_init_model
private

Referenced by init_sequence().

unsigned int TTNeutralGenes::_mut_model
private
double TTNeutralGenes::_mut_rate
private

Referenced by mutate_2all(), mutate_KAM(), and mutate_SSM().

void(TTNeutralGenes::* TTNeutralGenes::_mutate_func_ptr)(void)
private

Referenced by mutate(), and set_mut_func_ptr().

TProtoNeutralGenes* TTNeutralGenes::_myProto
private

Referenced by inherit().

unsigned int TTNeutralGenes::_ploidy
private
double TTNeutralGenes::_recomb_rate
private
unsigned char** TTNeutralGenes::_sequence
private
const trait_t TTNeutralGenes::_type
private

Referenced by get_type(), and operator==().


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

Generated for Nemo v2.3.0 by  doxygen 1.8.8 --
Catalogued on GSR