linear_fitness_map

ludics.linear_fitness_map(fitness, selection_intensity, **kwargs)

Returns fitness mapped by the function \(1 - \epsilon + \epsilon\pi_i(\mathbf{a})\)

Parameters

fitness: numpy.array - the fitness of the players in the state. May also take a float for a single player's fitness

selection_intensity: numpy.array - the selection intensity of the system

Returns

numpy.array - the scaled fitness of the state