Searched refs:num_sims (Results 1 – 4 of 4) sorted by relevance
/dports/games/wesnoth/wesnoth-1.14.17/utils/ |
H A D | wesnoth-attack-sim.c | 116 unsigned num_sims) in calculate_attack() argument 125 for (i = 0; i < num_sims; i++) { in calculate_attack() 156 defender_res[i] /= num_sims; in calculate_attack() 157 *defender_touched /= num_sims; in calculate_attack() 163 attacker_res[i][j] /= num_sims; in calculate_attack() 167 += (1.0*num_sims-battles)/num_sims; in calculate_attack() 171 if (battles <= num_sims / 100) in calculate_attack() 176 attacker_touched[i] /= num_sims; in calculate_attack()
|
/dports/biology/py-loompy/loompy-3.0.6/loompy/ |
H A D | cell_calling.py | 175 def simulate_multinomial_loglikelihoods(profile_p, umis_per_bc, num_sims=1000, jump=1000, n_sample_… argument 192 loglk = np.zeros((len(distinct_n), num_sims), dtype=float) 199 for sim_idx in range(num_sims): 245 num_sims = sim_loglk.shape[1] 253 pvalues[i] = float(1 + num_lower_loglk) / (1 + num_sims) 345 …ate_multinomial_loglikelihoods(ambient_profile_p, total_umis[eval_bcs], num_sims=1000, verbose=Tru…
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/fpga/usrp3/tools/utils/ |
H A D | run_testbenches.py | 268 num_sims = run_queue.qsize() 269 num_jobs = min(num_sims, int(args.jobs)) 279 while out_queue.qsize() < num_sims: 281 …>> [%s] (%d/%d simulations completed) <<<" % (tdiff, out_queue.qsize(), num_sims), end='\r', flush… 315 …o('SUMMARY: %d out of %d tests passed. Time elapsed was %s'%(num_sims - result_all, num_sims, str(…
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ai/default/ |
H A D | ca.cpp | 178 int num_sims = analysis.empty() ? 0 : max_sims/analysis.size(); in evaluate() local 179 if(num_sims < 20) in evaluate() 180 num_sims = 20; in evaluate() 181 if(num_sims > 40) in evaluate() 182 num_sims = 40; in evaluate() 184 LOG_AI_TESTING_AI_DEFAULT << "simulations: " << num_sims << "\n"; in evaluate()
|