Almost global stability of nonlinear switched systems with mode-dependent and edge-dependent average dwell time. (August 2021)