A generalized approach for the analysis of large scale systems under uncertainty: applications to transportation planning and engineering