Decision of next visiting machine selection, where job is to go