Interface IRuleBuilder
Builds the condition of a fuzzy rule, started by If(ICondition).
public interface IRuleBuilder
Methods
And(ICondition)
Combines the current condition with fuzzyCondition using fuzzy AND (minimum).
IRuleBuilder And(ICondition fuzzyCondition)
Parameters
fuzzyConditionIConditionThe condition to combine with.
Returns
- IRuleBuilder
A builder for the combined condition.
Or(ICondition)
Combines the current condition with fuzzyCondition using fuzzy OR (maximum).
IRuleBuilder Or(ICondition fuzzyCondition)
Parameters
fuzzyConditionIConditionThe condition to combine with.
Returns
- IRuleBuilder
A builder for the combined condition.
Then(IConsequent)
Attaches the rule's condition to consequent.
IRuleApplier Then(IConsequent consequent)
Parameters
consequentIConsequentThe consequent activated by the condition.
Returns
- IRuleApplier
An applier for adding more consequents or else branches.