1 #ifndef BRANCH_CUTTING_H_043A6EEC_78B6_4760_A3B8_F9343BB71F0E
2 #define BRANCH_CUTTING_H_043A6EEC_78B6_4760_A3B8_F9343BB71F0E
13 typedef std::vector<std::vector<double> >
matrix;
19 std::vector<std::pair<matrix, matrix> >
pCDSs;
29 void compute_cutpvalues(
pCafeTree pparamcafe,
pCafeFamily family,
int num_random_samples,
int b,
int range_start,
int range_stop,
viterbi_parameters& viterbi,
double pvalue, std::vector<double>& p1,
double** p2,
CutBranch& cb);
void cafe_branch_cutting(Globals &globals, viterbi_parameters &viterbi)
Definition: branch_cutting.cpp:220
std::vector< std::pair< matrix, matrix > > pCDSs
Definition: branch_cutting.h:19
Definition: branch_cutting.h:15
void compute_cutpvalues(pCafeTree pparamcafe, pCafeFamily family, int num_random_samples, int b, int range_start, int range_stop, viterbi_parameters &viterbi, double pvalue, std::vector< double > &p1, double **p2, CutBranch &cb)
Definition: branch_cutting.cpp:101
void cut_branch(CutBranch &cb, pTree ptree, pCafeTree paramCafe, family_size_range &range, int num_threads, int num_random_samples, int b, std::ostream &ost)
Definition: branch_cutting.cpp:184
void set_size_for_split(pCafeFamily pcf, int idx, pCafeTree pcafe)
Definition: branch_cutting.cpp:63
double pvalue(double v, const double *conddist, int size)
Definition: mathfunc.c:663
CutBranch(int nnodes)
Definition: branch_cutting.h:21
std::vector< std::vector< double > > matrix
Definition: branch_cutting.h:11
Structure representing a matrix of values of family sizes.
Definition: family.h:88