Table of Contents

Interface IRuleBuilder

Namespace
Olve.Fuzzy
Assembly
Olve.Fuzzy.dll

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

fuzzyCondition ICondition

The 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

fuzzyCondition ICondition

The 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

consequent IConsequent

The consequent activated by the condition.

Returns

IRuleApplier

An applier for adding more consequents or else branches.