Generalized Model of Cognitive Activity Taking into Account Uncertainty in an Information-saturated Environment