sds.variants

Functions

DH_continuous(min_hyp, max_hyp, rng)

DN_gauss(mean, sigma, rng)

Add noise from a gaussian distribution to hypothesis transmission

DN_normal(rng)

Add noise from a normal gaussian distribution to hypothesis transmission

D_context_free(DH, swarm, rng)

D_context_sensitive(DH, swarm, rng)

D_multidiffusion(rng, swarm, …)

D_noise(swarm, DN, DH, rng)

H_elite_cluster_consensus(swarm, …)

H_largest_cluster_threshold(swarm, threshold)

Makes a function for halting once the largest cluster activity is over a fixed threshold

H_stable(swarm, max_memory_length, …)

H_strong(swarm, threshold_cluster_size, …)

H_threshold(swarm, threshold)

Makes a function for halting once the global activity is over a fixed threshold

H_time(duration)

H_unique_hyp_count(swarm, unique_threshold)

H_weak(swarm, threshold_activity, …)

I_async(D, T, swarm)

I_report(I, report_num, report_function)

TM_multitesting(microtests, rng, …)

T_comparative(TM, swarm, rng)

all_functions(*function_list)

any_functions(*function_list)

round_clusters(clusters)