40 #ifndef _BIALLELEMONOLOCUSGENOTYPE_H_
41 #define _BIALLELEMONOLOCUSGENOTYPE_H_
70 size_t second_allele_index);
The BiAlleleMonolocusGenotype class.
BiAlleleMonolocusGenotype * clone() const
BiAlleleMonolocusGenotype(size_t first_allele_index, size_t second_allele_index)
Build a monolocus genotype containing two alleles.
bool operator==(const BiAlleleMonolocusGenotype &bmg) const
The == operator.
BiAlleleMonolocusGenotype & operator=(const BiAlleleMonolocusGenotype &bmg)
The affectation operator.
size_t getSecondAlleleIndex() const
Get the second allele index.
bool isHomozygous() const
Test the homozygozity of the locus.
std::vector< size_t > allele_index_
std::vector< size_t > getAlleleIndex() const
Get the alleles' index.
~BiAlleleMonolocusGenotype()
Destroy the BiAlleleMonolocusGenotype.
size_t getFirstAlleleIndex() const
Get the first allele index.
The MonolocusGenotype virtual class.