Bardo.PopulationManager.TotTopologicalMutations (Bardo v0.1.0)

View Source

Since there are many ways to calculate TotMutations, we create the tot_topological_mutations module, which can store the different functions which can calculate this value.

Summary

Functions

ncount_exponential calculates TotMutations by putting the size of the NN to some power Power.

ncount_linear calculates TotMutations by multiplying the size of the NN by the value Multiplier.

Functions

ncount_exponential(power, agent_id)

@spec ncount_exponential(float(), Bardo.Models.agent_id()) :: pos_integer()

ncount_exponential calculates TotMutations by putting the size of the NN to some power Power.

ncount_linear(multiplier, agent_id)

@spec ncount_linear(float(), Bardo.Models.agent_id()) :: float()

ncount_linear calculates TotMutations by multiplying the size of the NN by the value Multiplier.