|
| Humandna (int, int) |
|
| Humandna (typeDNA *tabX, typeDNA *pMtDna, int pIdMother, int pIdFather, int a, int b) |
|
| Humandna (Humandna const &) |
|
| ~Humandna () |
|
Humandna & | operator= (Humandna const &) |
|
void | reborn (typeDNA *newDna, typeDNA *newMtDna, int newMother, int newFather) |
|
void | reborn (int newMother, int newFather) |
|
void | reborn (Humandna const &) |
|
void | reset () |
|
int | get_nbCrumbNuc () |
|
| Humanmt (int, int) |
|
| Humanmt (typeDNA *pMtDna, int pIdMother, int pIdFather, int a) |
|
| Humanmt (Humanmt const &) |
|
Humanmt & | operator= (Humanmt const &) |
|
void | reborn (typeDNA *newMtDna, int newMother, int newFather) |
|
void | reborn (Humanmt const &) |
|
void | reset () |
|
int | get_nbCrumbMt () |
|
| Human (int, int) |
|
| Human (int pIdMother, int pIdFather, int, int) |
|
| Human (Human const &) |
|
virtual | ~Human () |
|
Human & | operator= (Human const &) |
|
bool | shared_parents (Human const &) |
|
void | reborn (int newMother, int newFather) |
|
void | reborn (Human const &) |
|
void | reset () |
|
int | getMother () const |
|
int | getFather () const |
|
int | getNbMate () const |
|
int | getNbChild () const |
|
void | hadChild (int n) |
|
void | newMate () |
|
|
std::ostream & | print (std::ostream &) const |
|
std::ostream & | print (std::ostream &) const |
|
|
std::ostream & | operator<< (std::ostream &, Humandna const &) |
|
Humandna::Humandna |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
Constructor from size of mtDNA and size of dna sequences.
Humandna::Humandna |
( |
typeDNA * |
tabX, |
|
|
typeDNA * |
pMtDna, |
|
|
int |
pIdMother, |
|
|
int |
pIdFather, |
|
|
int |
a, |
|
|
int |
b |
|
) |
| |
Constructor from sequence of mtDNA, dna, parents id and the size of the arrays.
Humandna::Humandna |
( |
Humandna const & |
a | ) |
|
int Humandna::get_nbCrumbNuc |
( |
| ) |
|
Return the size of the array storing the DNA sequence.
void Humandna::reborn |
( |
typeDNA * |
newDna, |
|
|
typeDNA * |
newMtDna, |
|
|
int |
newMother, |
|
|
int |
newFather |
|
) |
| |
Make a new instance out of an old one just changing its attributes.
void Humandna::reborn |
( |
int |
newMother, |
|
|
int |
newFather |
|
) |
| |
Make a new instance out of an old one just changing its attributes.
void Humandna::reborn |
( |
Humandna const & |
a | ) |
|
Make a new instance out of an old one just changing its attributes.
Function to reset the value of all the attributes. Sequences are back to 0 with the same lenght.
Dynamic arrays containing the sequence for the nuclear DNA.
Size of the dynamic array of nuclear DNA.
The documentation for this class was generated from the following files: