Table of Contents

Interface IRuleApplier

Namespace
Olve.Fuzzy
Assembly
Olve.Fuzzy.dll

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

consequent IConsequent

The additional consequent.

Returns

IRuleApplier

The current applier.

Else(IConsequent)

Attaches the negation of the condition (1 - truth) to consequent.

IRuleApplier Else(IConsequent consequent)

Parameters

consequent IConsequent

The 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

fuzzyCondition ICondition

The condition of the else-if branch.

Returns

IRuleBuilder

A builder for the combined condition.