#include <ttbdmi.h>
◆ TT_BDMI() [1/2]
TProtoBDMI * _myProto
Definition: ttbdmi.h:152
double _phenotype
Definition: ttbdmi.h:156
Referenced by clone().
◆ TT_BDMI() [2/2]
| TT_BDMI::TT_BDMI |
( |
const TT_BDMI & |
T | ) |
|
|
inline |
◆ ~TT_BDMI()
| virtual TT_BDMI::~TT_BDMI |
( |
| ) |
|
|
inlinevirtual |
◆ clone()
| virtual TT_BDMI* TT_BDMI::clone |
( |
| ) |
|
|
inlinevirtual |
◆ get_allele()
| unsigned int TT_BDMI::get_allele |
( |
int |
loc, |
|
|
int |
all |
|
) |
| const |
|
virtual |
Implements TTrait.
458 assert(loc < _myProto->get_locus_number() && all < 2);
459 return (
unsigned int)
_sequence[all][loc];
bitstring _sequence[2]
Definition: ttbdmi.h:154
References _sequence.
◆ get_allele_value()
| double TT_BDMI::get_allele_value |
( |
int |
loc, |
|
|
int |
all |
|
) |
| const |
|
virtual |
◆ get_bit_sequence()
| const bitstring& TT_BDMI::get_bit_sequence |
( |
bool |
chromosome | ) |
const |
|
inline |
◆ get_genome_sequence()
| const bitstring* TT_BDMI::get_genome_sequence |
( |
| ) |
const |
|
inline |
◆ get_num_mut_diplo()
| unsigned int TT_BDMI::get_num_mut_diplo |
( |
unsigned int |
loc | ) |
|
|
inline |
◆ get_num_mut_haplo()
| unsigned int TT_BDMI::get_num_mut_haplo |
( |
unsigned int |
loc | ) |
|
|
inline |
◆ get_sequence()
| virtual void** TT_BDMI::get_sequence |
( |
| ) |
const |
|
inlinevirtual |
Implements TTrait.
212 error(
"calling TT_BDMI::get_sequence()\n");
int error(const char *str,...)
Definition: output.cc:79
References error().
◆ get_type()
| virtual trait_t TT_BDMI::get_type |
( |
| ) |
const |
|
inlinevirtual |
◆ getValue()
| virtual void* TT_BDMI::getValue |
( |
| ) |
const |
|
inlinevirtual |
◆ inherit()
| void TT_BDMI::inherit |
( |
const TTrait * |
mother, |
|
|
const TTrait * |
father |
|
) |
| |
|
virtual |
◆ inherit_diplo()
| void TT_BDMI::inherit_diplo |
( |
const TTrait * |
mother, |
|
|
const TTrait * |
father |
|
) |
| |
◆ inherit_haplo()
| void TT_BDMI::inherit_haplo |
( |
const TTrait * |
mother, |
|
|
const TTrait * |
father |
|
) |
| |
◆ init()
◆ init_sequence()
| void TT_BDMI::init_sequence |
( |
| ) |
|
|
virtual |
◆ mutate()
◆ mutate_diplo()
| void TT_BDMI::mutate_diplo |
( |
| ) |
|
|
inline |
◆ mutate_haplo()
| void TT_BDMI::mutate_haplo |
( |
| ) |
|
|
inline |
◆ operator!=()
| bool TT_BDMI::operator!= |
( |
const TTrait & |
T | ) |
|
|
virtual |
◆ operator=()
◆ operator==()
| bool TT_BDMI::operator== |
( |
const TTrait & |
T | ) |
|
|
virtual |
◆ reset()
◆ retrieve_data()
◆ set_allele_value()
| void TT_BDMI::set_allele_value |
( |
unsigned int |
locus, |
|
|
unsigned int |
allele, |
|
|
double |
value |
|
) |
| |
|
virtual |
◆ set_proto()
◆ set_sequence() [1/2]
| void TT_BDMI::set_sequence |
( |
bitstring ** |
seq | ) |
|
◆ set_sequence() [2/2]
| virtual void TT_BDMI::set_sequence |
( |
void ** |
seq | ) |
|
|
inlinevirtual |
◆ set_trait()
| virtual void* TT_BDMI::set_trait |
( |
void * |
value | ) |
|
|
inlinevirtual |
◆ set_value()
| void TT_BDMI::set_value |
( |
| ) |
|
|
inlinevirtual |
◆ show_up()
| void TT_BDMI::show_up |
( |
| ) |
|
|
virtual |
◆ store_data()
◆ viability_diplo()
| double TT_BDMI::viability_diplo |
( |
| ) |
|
|
inline |
◆ viability_haplo()
| double TT_BDMI::viability_haplo |
( |
| ) |
|
|
inline |
◆ _diploGenotCoding
| unsigned int TT_BDMI::_diploGenotCoding = {{0,1},{2,3}} |
|
staticprivate |
◆ _haploGenotCoding
| unsigned int TT_BDMI::_haploGenotCoding = {{0,1},{2,3}} |
|
staticprivate |
◆ _myProto
Referenced by get_allele_value(), get_type(), inherit(), inherit_diplo(), inherit_haplo(), init(), init_sequence(), mutate(), mutate_diplo(), mutate_haplo(), operator=(), operator==(), retrieve_data(), set_allele_value(), set_proto(), set_sequence(), set_value(), show_up(), store_data(), viability_diplo(), and viability_haplo().
◆ _phenotype
| double TT_BDMI::_phenotype |
|
private |
◆ _sequence
Referenced by get_allele(), get_bit_sequence(), get_genome_sequence(), get_num_mut_diplo(), get_num_mut_haplo(), inherit_diplo(), inherit_haplo(), init(), init_sequence(), mutate_diplo(), mutate_haplo(), operator=(), reset(), retrieve_data(), set_sequence(), show_up(), store_data(), viability_diplo(), and viability_haplo().
The documentation for this class was generated from the following files: