Large-scale evolution strategy based on search direction adaptation