Algorithms for optimal model distributions in adaptive switching control schemes