Knowledge based reinforcement learning and estimation of distribution algorithm for flexible job videos