40 #ifndef _MULTIALLELEMONOLOCUSGENOTYPE_H_ 41 #define _MULTIALLELEMONOLOCUSGENOTYPE_H_ 46 #include <Bpp/Exceptions.h> 120 #endif // _MULTIALLELEMONOLOCUSGENOTYPE_H_ ~MultiAlleleMonolocusGenotype()
Destroy the MultiAlleleMonolocusGenotype.
bool operator==(const MultiAlleleMonolocusGenotype &mmg) const
The == operator.
std::vector< size_t > allele_index_
The MultiAlleleMonolocusGenotype class.
MultiAlleleMonolocusGenotype & operator=(const MultiAlleleMonolocusGenotype &mmg)
The affectation operator.
MultiAlleleMonolocusGenotype(std::vector< size_t > allele_index)
Build a monolocus genotype containing many alleles.
The MonolocusGenotype virtual class.
std::vector< size_t > getAlleleIndex() const
Get the alleles' index.
MultiAlleleMonolocusGenotype * clone() const
bool isHomozygous() const
Test the homozygozity of the locus (i.e. all allele are identical).