CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
conditional_distribution.h
Go to the documentation of this file.
1 #ifndef CONDITIONAL_DISTRIBUTION_F12ED8EA_52AE_4508_A175_5DDCBE682A46
2 #define CONDITIONAL_DISTRIBUTION_F12ED8EA_52AE_4508_A175_5DDCBE682A46
3 
4 #include <vector>
5 
6 extern "C" {
7 #include "cafe.h"
8 #include <family.h>
9 }
10 
11 typedef std::vector<std::vector<double> > matrix;
12 
13 std::vector<double> get_random_probabilities(pCafeTree pcafe, int rootFamilysize, int trials);
14 matrix conditional_distribution(pCafeTree pcafe, int range_start, int range_end, int num_trials);
15 matrix cafe_conditional_distribution(pCafeTree pTree, family_size_range *range, int numthreads, int num_random_samples);
16 
17 #endif
std::vector< std::vector< double > > matrix
Definition: conditional_distribution.h:11
matrix cafe_conditional_distribution(pCafeTree pTree, family_size_range *range, int numthreads, int num_random_samples)
Definition: conditional_distribution.cpp:86
Definition: family.h:10
std::vector< double > get_random_probabilities(pCafeTree pcafe, int rootFamilysize, int trials)
Definition: conditional_distribution.cpp:10
Definition: tree.h:11
std::vector< std::vector< double > > matrix
Definition: branch_cutting.h:11
Definition: family.h:17
matrix conditional_distribution(pCafeTree pcafe, int range_start, int range_end, int num_trials)
Definition: conditional_distribution.cpp:48