compute_fermi_transition_probability

ludics.compute_fermi_transition_probability(source, target, fitness_function, choice_intensity, **kwargs)

Calculates the probability of transitioning from source to target with Fermi imitation dynamics

Parameters:

  • source: numpy.array - the current state
  • target: numpy.array - the state being transitioned to
  • fitness_function: func - takes a numpy.array and returns an `array of floats with the same shape
  • choice_intensity: numpy.array or float- the choice intensity of the process. Must have shape \((N,N)\) if passed as an array

Returns:

  • float if source != target, else None