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