bpp-popgen  3.0.0
bpp::MonolocusGenotype Class Referenceabstract

The MonolocusGenotype virtual class. More...

#include <Bpp/PopGen/MonolocusGenotype.h>

+ Inheritance diagram for bpp::MonolocusGenotype:
+ Collaboration diagram for bpp::MonolocusGenotype:

Public Member Functions

virtual ~MonolocusGenotype ()
 Destroy a MonolocusGenotype. More...
 
virtual std::vector< size_t > getAlleleIndex () const =0
 Get the alleles' index. More...
 
virtual Clonableclone () const=0
 

Detailed Description

The MonolocusGenotype virtual class.

A MonolocusGenotype containes the Alleles' keys defined in a Locus object. This keys are returned as size_tegers. This class is an interface for all monolocus genotypes.

Author
Sylvain Gaillard

Definition at line 59 of file MonolocusGenotype.h.

Constructor & Destructor Documentation

◆ ~MonolocusGenotype()

virtual bpp::MonolocusGenotype::~MonolocusGenotype ( )
inlinevirtual

Destroy a MonolocusGenotype.

Definition at line 67 of file MonolocusGenotype.h.

Member Function Documentation

◆ getAlleleIndex()

virtual std::vector<size_t> bpp::MonolocusGenotype::getAlleleIndex ( ) const
pure virtual

The documentation for this class was generated from the following file: