|
Nemo
2.4.0b
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
|
Bitstring implementation of TTDeletMutations with recombination. More...
#include <ttdeletmutations_bitstring.h>
Inheritance diagram for TTDeletMutations_bitstring:
Collaboration diagram for TTDeletMutations_bitstring:Public Member Functions | |
| TTDeletMutations_bitstring () | |
| TTDeletMutations_bitstring (const TTDeletMutations_bitstring &T) | |
| virtual | ~TTDeletMutations_bitstring () |
| double | viability_multi () |
| double | viability_epist () |
| double | viability_multi_continuous () |
| double | viability_epist_continuous () |
| void | mutate_redraw () |
| void | mutate_noredraw () |
| void | mutate_noredraw_noBackMutation () |
| void | set_sequence (bitstring **seq) |
Getters: | |
| unsigned int | get_nb_mutations () const |
| unsigned int | get_nb_mut_atLocus (unsigned int loc) const |
| unsigned int | get_nb_htz_mutations () const |
| unsigned int | get_nb_hmz_mutations () const |
| bool | get_hmz_atLocus (unsigned int loc) const |
| bool | get_htz_atLocus (unsigned int loc) const |
Setters: | |
| void | set_proto (TProtoDeletMutations_bitstring *proto) |
| void | set_nb_locus (int val) |
| void | set_mut_rate (double val, int nloc) |
| void | set_viability_func_ptr (unsigned int f_model, bool is_cont) |
| void | set_inherit_func_ptr (void(TProtoDeletMutations_bitstring::*theFunc)(sex_t, bitstring *, bitstring **)) |
| void | set_mutation_func_ptr (unsigned int m_model) |
Implementations | |
| 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) const |
| 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 | inherit (const TTrait *mother, const TTrait *father) |
| virtual void | mutate () |
| virtual void | set_value () |
| virtual void * | getValue () const |
| virtual void | show_up () |
| virtual TTDeletMutations_bitstring * | clone () |
| virtual TTDeletMutations_bitstring & | operator= (const TTrait &T) |
| virtual bool | operator== (const TTrait &T) |
| virtual bool | operator!= (const TTrait &T) |
| 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 () |
Static Public Member Functions | |
| static void | set_effects (float **fx) |
| static void | set_recomb_template (unsigned int size) |
Private Member Functions | |
| void | set_nb_mutations () |
| void | set_nb_htz_mutations () |
| void | set_nb_hmz_mutations () |
Private Attributes | |
| TProtoDeletMutations_bitstring * | _myProto |
| unsigned int | _nb_mutations |
| unsigned int | _nb_hmz_mutations |
| unsigned int | _nb_htz_mutations |
| bitstring * | sequence [2] |
| bitstring * | _htz |
| bitstring * | _hmz |
| double | _phenotype |
| trait_t | _type |
Parameters | |
| unsigned int | _nb_locus |
| double | _genomic_mut_rate |
| double(TTDeletMutations_bitstring::* | _viability_func_ptr )(void) |
| void(TProtoDeletMutations_bitstring::* | _inherit_func_ptr )(sex_t, bitstring *, bitstring **) |
| void(TTDeletMutations_bitstring::* | _mutation_func_ptr )(void) |
Bitstring implementation of TTDeletMutations with recombination.
|
inline |
References sequence.
Referenced by clone().
|
inline |
References sequence.
|
inlinevirtual |
References reset().
|
inlinevirtual |
Implements TTrait.
References TTDeletMutations_bitstring().
|
virtual |
Implements TTrait.
References _myProto, TProtoDeletMutations_bitstring::get_effect(), get_hmz_atLocus(), and sequence.
|
inline |
References sequence.
Referenced by get_allele_value().
|
inline |
|
inline |
|
inline |
|
inline |
References sequence.
Referenced by TTDeletMutBitstrSH::setDeletStats().
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements TTrait.
References _inherit_func_ptr, _myProto, FEM, TTrait::get_sequence(), MAL, and sequence.
|
virtual |
Implements TTrait.
References _hmz, _htz, _nb_locus, fatal(), and sequence.
Referenced by operator=(), and set_sequence().
|
virtual |
Implements TTrait.
References _myProto, _nb_locus, TProtoDeletMutations_bitstring::get_init_freq(), bitstring::reset(), sequence, bitstring::set(), and RAND::Uniform().
|
inlinevirtual |
| void TTDeletMutations_bitstring::mutate_noredraw | ( | ) |
References _genomic_mut_rate, _myProto, _nb_locus, bitstring::flip(), TProtoDeletMutations_bitstring::get_backmutation_rate(), RAND::Poisson(), RAND::RandBool(), sequence, bitstring::set(), and RAND::Uniform().
Referenced by set_mutation_func_ptr().
| void TTDeletMutations_bitstring::mutate_noredraw_noBackMutation | ( | ) |
References _genomic_mut_rate, _nb_locus, RAND::Poisson(), RAND::RandBool(), sequence, bitstring::set(), and RAND::Uniform().
Referenced by set_mutation_func_ptr().
| void TTDeletMutations_bitstring::mutate_redraw | ( | ) |
References _genomic_mut_rate, _nb_hmz_mutations, _nb_locus, RAND::Poisson(), RAND::RandBool(), sequence, bitstring::set(), and RAND::Uniform().
Referenced by set_mutation_func_ptr().
|
virtual |
Implements TTrait.
References _nb_locus, bitstring::copy(), init(), reset(), sequence, and set_value().
|
virtual |
|
virtual |
Implements TTrait.
References _hmz, _htz, and sequence.
Referenced by operator=(), set_sequence(), and ~TTDeletMutations_bitstring().
|
virtual |
Implements StorableComponent.
References bitstring::nb_words(), BinaryStorageBuffer::read(), sequence, and bitstring::set_data().
|
virtual |
Implements TTrait.
References _myProto, _nb_locus, TProtoDeletMutations_bitstring::get_dominance(), TProtoDeletMutations_bitstring::get_dominance_model(), TProtoDeletMutations_bitstring::get_effect(), TProtoDeletMutations_bitstring::get_strength(), sequence, bitstring::set(), and TProtoDeletMutations_bitstring::set_effect().
|
static |
|
inline |
|
inline |
| void TTDeletMutations_bitstring::set_mutation_func_ptr | ( | unsigned int | m_model | ) |
References _mutation_func_ptr, _myProto, TProtoDeletMutations_bitstring::get_backmutation_rate(), mutate_noredraw(), mutate_noredraw_noBackMutation(), and mutate_redraw().
Referenced by TProtoDeletMutations_bitstring::hatch().
|
private |
References _hmz, _nb_hmz_mutations, bitstring::count(), and sequence.
Referenced by set_value(), and show_up().
|
private |
References _htz, _nb_htz_mutations, bitstring::count(), and sequence.
Referenced by set_value(), and show_up().
|
inline |
|
private |
References _nb_mutations, bitstring::count(), and sequence.
Referenced by set_value(), and show_up().
|
inline |
|
static |
| void TTDeletMutations_bitstring::set_sequence | ( | bitstring ** | seq | ) |
|
inlinevirtual |
Implements TTrait.
|
inlinevirtual |
Implements TTrait.
|
virtual |
Implements TTrait.
References _phenotype, _viability_func_ptr, set_nb_hmz_mutations(), set_nb_htz_mutations(), and set_nb_mutations().
Referenced by TTDeletMutBitstrFH::FHread(), operator=(), and show_up().
| void TTDeletMutations_bitstring::set_viability_func_ptr | ( | unsigned int | f_model, |
| bool | is_cont | ||
| ) |
References _viability_func_ptr, viability_epist(), viability_epist_continuous(), viability_multi(), and viability_multi_continuous().
Referenced by TProtoDeletMutations_bitstring::hatch().
|
virtual |
Implements TTrait.
References _nb_locus, get_nb_hmz_mutations(), get_nb_htz_mutations(), get_nb_mutations(), getValue(), sequence, set_nb_hmz_mutations(), set_nb_htz_mutations(), set_nb_mutations(), and set_value().
|
virtual |
Implements StorableComponent.
References bitstring::getword_atIdx(), bitstring::nb_words(), sequence, and BinaryStorageBuffer::store().
| double TTDeletMutations_bitstring::viability_epist | ( | ) |
References _myProto, _nb_hmz_mutations, _nb_htz_mutations, TProtoDeletMutations_bitstring::get_dominance(), TProtoDeletMutations_bitstring::get_fitness_scaling_factor(), and TProtoDeletMutations_bitstring::get_strength().
Referenced by set_viability_func_ptr().
| double TTDeletMutations_bitstring::viability_epist_continuous | ( | ) |
References _hmz, _myProto, _nb_locus, TProtoDeletMutations_bitstring::get_effect(), and TProtoDeletMutations_bitstring::get_fitness_scaling_factor().
Referenced by set_viability_func_ptr().
| double TTDeletMutations_bitstring::viability_multi | ( | ) |
| double TTDeletMutations_bitstring::viability_multi_continuous | ( | ) |
References _hmz, _myProto, _nb_locus, TProtoDeletMutations_bitstring::get_effect(), and TProtoDeletMutations_bitstring::get_fitness_scaling_factor().
Referenced by set_viability_func_ptr().
|
private |
Referenced by mutate_noredraw(), mutate_noredraw_noBackMutation(), mutate_redraw(), and set_mut_rate().
|
private |
Referenced by init(), reset(), set_nb_hmz_mutations(), viability_epist_continuous(), and viability_multi_continuous().
|
private |
Referenced by init(), reset(), and set_nb_htz_mutations().
|
private |
Referenced by inherit(), and set_inherit_func_ptr().
|
private |
Referenced by mutate(), and set_mutation_func_ptr().
|
private |
|
private |
Referenced by get_nb_hmz_mutations(), mutate_redraw(), set_nb_hmz_mutations(), viability_epist(), and viability_multi().
|
private |
Referenced by get_nb_htz_mutations(), set_nb_htz_mutations(), viability_epist(), and viability_multi().
|
private |
|
private |
Referenced by get_nb_mutations(), and set_nb_mutations().
|
private |
Referenced by getValue(), and set_value().
|
private |
Referenced by get_type(), and operator==().
|
private |
Referenced by set_value(), and set_viability_func_ptr().
|
private |
Referenced by get_allele_value(), get_hmz_atLocus(), get_htz_atLocus(), get_nb_mut_atLocus(), get_sequence(), inherit(), init(), init_sequence(), mutate_noredraw(), mutate_noredraw_noBackMutation(), mutate_redraw(), operator=(), reset(), retrieve_data(), set_allele_value(), set_nb_hmz_mutations(), set_nb_htz_mutations(), set_nb_mutations(), set_sequence(), show_up(), store_data(), and TTDeletMutations_bitstring().
1.9.1 -- Nemo is hosted on