40 #ifndef _BIALLELEMONOLOCUSGENOTYPE_H_ 41 #define _BIALLELEMONOLOCUSGENOTYPE_H_ 46 #include <Bpp/Exceptions.h> 70 size_t second_allele_index);
132 #endif // _BIALLELEMONOLOCUSGENOTYPE_H_ 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.
std::vector< size_t > getAlleleIndex() const
Get the alleles' index.
~BiAlleleMonolocusGenotype()
Destroy the BiAlleleMonolocusGenotype.
size_t getSecondAlleleIndex() const
Get the second allele index.
bool isHomozygous() const
Test the homozygozity of the locus.
BiAlleleMonolocusGenotype & operator=(const BiAlleleMonolocusGenotype &bmg)
The affectation operator.
std::vector< size_t > allele_index_
BiAlleleMonolocusGenotype * clone() const
The MonolocusGenotype virtual class.
The BiAlleleMonolocusGenotype class.
size_t getFirstAlleleIndex() const
Get the first allele index.