Adaptive Stochastic Simulation For Structured Problems