can run algorithm with any fitness method