Changeset 879
Legend:
- Unmodified
- Added
- Removed
-
luc/trunk/calc_prob.cpp
r876 r879 28 28 double rateRtem = (1 - prevalence) * rateR; 29 29 30 double probtot = rate R + rateCcas + rateCtem + rateM + rateRcas + rateRtem;30 double probtot = rateCcas + rateCtem + rateM + rateRcas + rateRtem; 31 31 32 32 prob.prior.coal_cas = rateCcas / probtot; -
luc/trunk/main.cpp
r878 r879 104 104 environment variable GSL_RNG_TYPE */ 105 105 106 gsl_rng *r = make_generator(2 7);106 gsl_rng *r = make_generator(22); 107 107 108 108 // taux_rec_cas = rho*n_cas/2 ; … … 1208 1208 single_likelihood = my_state.get_likelihood() ; 1209 1209 average_likelihood += single_likelihood ; 1210 cout << "single_likelihood : " << single_likelihood << endl ; 1210 1211 } 1211 1212 -
luc/trunk/state.cpp
r878 r879 75 75 76 76 likelihood(event) ; 77 //print_likelihood() ;77 print_likelihood() ; 78 78 79 79 // perform event (update container, compatibility table) … … 81 81 adjust_container(event) ; 82 82 adjust_compat_table(event) ; 83 //print_m_counts() ;84 //print_n() ;83 print_m_counts() ; 84 print_n() ; 85 85 86 86 //print_compat_table() ;
