Supervisory control of mode-switch processes