Interface IRuleApplier
Continues a fuzzy rule after Then(IConsequent).
public interface IRuleApplier
Methods
And(IConsequent)
Attaches the same condition to another consequent.
IRuleApplier And(IConsequent consequent)
Parameters
consequentIConsequentThe additional consequent.
Returns
- IRuleApplier
The current applier.
Else(IConsequent)
Attaches the negation of the condition (1 - truth) to consequent.
IRuleApplier Else(IConsequent consequent)
Parameters
consequentIConsequentThe consequent activated when the condition is false.
Returns
- IRuleApplier
An applier for the negated condition.
ElseIf(ICondition)
Starts a new condition that holds when the current condition is false and fuzzyCondition is true.
IRuleBuilder ElseIf(ICondition fuzzyCondition)
Parameters
fuzzyConditionIConditionThe condition of the else-if branch.
Returns
- IRuleBuilder
A builder for the combined condition.