Modeling An Adaptive System With Complex Queuing Networks And Simulation