Insomnia, or the complaint of inadequate sleep, may be subdivided into-