To Switch or not to Switch: Predicting the Benefit of Switching between Algorithms based on Trajectory Features