Optimal control in the presence of an intelligent jammer with limited actions | Synapse