compute_introspection_transition_probability

ludics.main.compute_introspection_transition_probability(source, target, fitness_function, choice_intensity, number_of_strategies, **kwargs)

Calculates the probability of transitioning from source to target with introspection 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
  • number_of_strategies: int - the number of strategies which players can play

Returns:

  • float if source != target, else None