Activity regions in discrete-event systems