Optimization for a New XY Positioning Mechanism by Artificial Neural Network-Based Metaheuristic Algorithms