TIFuzzyVariable.AssertRule(IFuzzySet[],IFuzzySet[],IFuzzySet,IFuzzySet) Method |
Scroll Prev Top Next More |
Performs implication using correlation rules.
Namespace: IFuzzyLogic
Delphi |
public |
Parameters
Premises
Type: Array of IFuzzySet
Matchings
Type: Array of IFuzzySet
NewEvidence
Type: IFuzzySet
OldEvidence
Type: IFuzzySet
Type: IFuzzySet
IFuzzyVariable.AssertRule(IFuzzySet[],IFuzzySet[],IFuzzySet,IFuzzySet)
With correlation implication rules, the consequent fuzzy set is correlated with the premise fuzzy set's truth value, which is modified by the Matching fuzzy set. Basically, with the AssertRule method, you have a fuzzy fact (the OldEvidence parameter). The rule is formed as "If PREMISE then NEWEVIDENCE". Then, you give the AssertRule method some fact which matches the premise (the Matching parameter) and it creates a new fuzzy set which represents a combination of the old evidence and the new evidence based on how well the Matching fact matches the Premise. The AssertRule first calls GetCorrelationStrength to determine the strength of the match between the premise and the Matching fact. Then, if the strength of the match exceeds the Threshold, it modifies the NewEvidence by the correlation strength and Infers a new fact (the result). |
Reference |