Narcolepsy can be best explained as: