00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef RECOMBINATION_H
00025 #define RECOMBINATION_H
00026
00044 #include <vector>
00045 #include <limits>
00046
00047 namespace Sequence
00048 {
00049 class PolyTable;
00050 namespace Recombination
00051 {
00052 double HudsonsC (const Sequence::PolyTable * data, const bool & haveOutgroup,
00053 const unsigned & outgroup);
00054 std::vector < std::vector<double> > Disequilibrium (const Sequence::PolyTable * data,
00055 const bool & haveOutgroup=false,
00056 const unsigned & outgroup=0,
00057 const unsigned & mincount = 1,
00058 const double max_distance = std::numeric_limits<double>::max());
00059
00060 bool Disequilibrium (const Sequence::PolyTable *data,
00061 std::vector<double> & return_values,
00062 unsigned * i , unsigned * j,
00063 const bool & haveOutgroup = false,
00064 const unsigned & outgroup = 0,
00065 const unsigned & mincount = 1,
00066 const double max_distance = std::numeric_limits<double>::max());
00067
00068 }
00069 }
00070 #endif