An artificial neural network model of coastal erosion mitigation through wave farms