def alpha_mix(x, t):
    """This function is used to calculate the alpha function with mixed
    continuous POF and discrete POF.
    """
    k = int(abs(5.0 * (int(DELTA_STATE * int(t) / 5.0) % 2) - (DELTA_STATE * int(t) % 5)))
    return [x[0], 1 - np.sqrt(x[0]) + 0.1 * k * (1 + np.sin(10 * np.pi * x[0]))]
This function is used to calculate the alpha function with mixed
    continuous POF and discrete POF.
    
pymoo/vendor/gta.py