mapgd  0.4
A program for the Maximum-likelihood analysis of population genomic data.
 All Data Structures Functions Variables Friends Groups Pages
genotype.h
1 #ifndef _GENOTYPE_H_
2 #define _GENOTYPE_H_
3 
4 #include "typedef.h"
5 #include <iostream>
6 
7 class Genotype {
8 private :
9 public :
10  float_t MM, Mm, mm;
11  count_t N;
12  Genotype(const float_t &MM, const float_t &Mm, const float_t &mm, const count_t &N);
13  Genotype();
14  Genotype & operator= (const Genotype&);
15  friend std::ostream& operator << (std::ostream& out, const Genotype& x);
16  friend std::istream& operator >> (std::istream& in, Genotype& x);
17 };
18 
19 #endif
float_t mm
Major Major, Major minor, minor minor.
Definition: genotype.h:10
Genotype & operator=(const Genotype &)
Definition: genotype.cc:17
count_t N
total depth of coverage.
Definition: genotype.h:11
Genotype()
constructor.
Definition: genotype.cc:2
Definition: genotype.h:7