compute_introspection_transition_probability
ludics.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 statetarget: numpy.array - the state being transitioned tofitness_function: func - takes a numpy.array and returns an `array of floats with the same shapechoice_intensity: numpy.array or float- the choice intensity of the system. If passed as an array, must have shape \((N,K)\), where \(k\) is the number of strategiesnumber_of_strategies: int - the number of strategies which players can play
Returns:
- float if
source!=target, else None