internal virtual void SetFuzzyValue(FuzzySet newSet, double truthValue)
{
//This is correlation with a truth value.
//Change the Fuzzy Work Space 'valFzy' with the new set
//correlated to truth value 'truthValue'
moValFzyTmp.CorrelateWith(newSet, moRuleBase.CorrelationMethod, truthValue);
moValFzy.ImplicateTo(moValFzyTmp, moRuleBase.InferenceMethod);
//When all done, defuzzify the work space and store in valCrisp
mdValCrisp = moValFzy.Defuzzify(moRuleBase.DefuzzifyMethod);
}