Analysis of various algorithms for optimizing the wave energy converters associated with a sloped wall-type breakwater