UnityAI.Core.Fuzzy.ContinuousFuzzyRuleVariable.SetRawValue C# (CSharp) Method

SetRawValue() private method

Set the Raw Value
private SetRawValue ( FuzzySet newSet ) : void
newSet FuzzySet
return void
        internal virtual void SetRawValue(FuzzySet newSet)
        {
            //This is an assertion following the "Minimum Law of Fuzzy Assertions".
            //Change the Fuzzy Work Space 'valFzy' with the new set.
            moValFzy.CopyOrAssertFuzzy(newSet);

            //When all done, defuzzify the work space and store in valCrisp
            mdValCrisp = moValFzy.Defuzzify(moRuleBase.DefuzzifyMethod);
        }

Same methods

ContinuousFuzzyRuleVariable::SetRawValue ( double newValue ) : void