Adaptive Hierarchical Scheduling Framework