EmotionalAppraisal.ActiveEmotion.ReforceEmotion C# (CSharp) Méthode

ReforceEmotion() public méthode

Reforces the intensity of the emotion by a given potential
public ReforceEmotion ( float potential ) : void
potential float the potential for the reinformcement of the emotion's intensity
Résultat void
        public void ReforceEmotion(float potential)
        {
            this.Intensity = (float)Math.Log(Math.Exp(this.Potential) + Math.Exp(potential));
        }