KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sample_associations.h
Go to the documentation of this file.
1 #ifndef SAMPLE_ASSOCIATIONS_H_
2 #define SAMPLE_ASSOCIATIONS_H_
3 
12 #include <vector>
13 #include <iostream>
14 #include <prob_cpp/prob_sample.h>
15 
16 namespace semantics
17 {
18 
20  std::vector<Semspear_tree::Self_ptr>& trees,
21  const size_t& iterations,
22  std::ostream& results = std::cout,
23  const bool& output_diagnostics = false
24  );
25 
27  std::vector<Semspear_tree::Self_ptr>& trees,
28  std::ostream& results,
29  const bool& output_diagnostics
30  );
31 
32  void resample_event_tables(std::vector<Semspear_tree::Self_ptr>& trees);
33 };
34 
35 #endif
void resample_associations(std::vector< Semspear_tree::Self_ptr > &trees, std::ostream &results, const bool &output_diagnostics)
Definition: sample_associations.cpp:35
Sampling functionality for the different distributions defined in "prob_distributions.h".
void resample_event_tables(std::vector< Semspear_tree::Self_ptr > &trees)
Definition: sample_associations.cpp:89
void resample_semspear_trees(std::vector< Semspear_tree::Self_ptr > &trees, const size_t &iterations, std::ostream &results, const bool &output_diagnostics)
Definition: sample_associations.cpp:16