Robot Patrolling for Stochastic and Adversarial Events