compute_fermi_transition_probability

ludics.main.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: float - the choice intensity of the process

Returns:

  • float if source != target, else None