CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pvalue.cpp File Reference
#include <istream>
#include <ostream>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include "pvalue.h"
#include "conditional_distribution.h"

Functions

void check_cache_and_compute_likelihoods (pCafeTree pTree, int max, pBirthDeathCacheArray cache)
 
void print_pvalues (std::ostream &ost, pCafeTree pcafe, int max, int num_random_samples, pBirthDeathCacheArray cache)
 
void write_pvalues (std::ostream &ost, pArrayList values, int count)
 
void read_pvalues (std::istream &ist, int count)
 
void pvalues_for_family (pCafeTree pTree, pCafeFamily family, family_size_range *range, int numthreads, int num_random_samples, int index)
 
void cafe_tree_p_values (pCafeTree pcafe, std::vector< double > &pvalues, std::vector< std::vector< double > > &pconddist, int cdlen)
 

Function Documentation

void cafe_tree_p_values ( pCafeTree  pcafe,
std::vector< double > &  pvalues,
std::vector< std::vector< double > > &  pconddist,
int  cdlen 
)
void check_cache_and_compute_likelihoods ( pCafeTree  pTree,
int  max,
pBirthDeathCacheArray  cache 
)
void print_pvalues ( std::ostream &  ost,
pCafeTree  pcafe,
int  max,
int  num_random_samples,
pBirthDeathCacheArray  cache 
)
void pvalues_for_family ( pCafeTree  pTree,
pCafeFamily  family,
family_size_range range,
int  numthreads,
int  num_random_samples,
int  index 
)
void read_pvalues ( std::istream &  ist,
int  count 
)
void write_pvalues ( std::ostream &  ost,
pArrayList  values,
int  count 
)