Dynamic repair and maintenance of heterogeneous machines dispersed on a network: A rollout method for online reinforcement learning