Episodic disturbances of thinking and motivation in addition to either pure melancholia or pure mania.