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