A Data-Driven Solution to Dwell Time