EmotionalAppraisal.ActiveEmotion.ReforceEmotion C# (CSharp) Method

ReforceEmotion() public method

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
return void
        public void ReforceEmotion(float potential)
        {
            this.Intensity = (float)Math.Log(Math.Exp(this.Potential) + Math.Exp(potential));
        }