compute_aspiration_transition_probability
ludics.compute_aspiration_transition_probability(source, target, fitness_function, choice_intensity, aspiration_vector, **kwargs)
Calculates the probability of transitioning from source to target with
aspiration 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 strategiesaspiration_vector: numpy.array - the aspiration of each player in the state
Returns:
- float if
source!=target, else None