compute_moran_transition_probability
ludics.main.compute_moran_transition_probablity(source, target, fitness_function, selection_intensity, **kwargs)
Calculates the probability of transitioning from source to target in the
Moran process
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 shapeselection_intensity: float - the selection intensity of the process
Returns:
- float if
source!=target, else None