FuzzyAND()

Class for representing an AND operator. Can be used to construct fuzzy rules.

new FuzzyAND()

Constructs a new fuzzy AND operator with the given values. The constructor accepts and arbitrary amount of fuzzy terms.

Author:

Extends

Members

terms :Array.<FuzzyTerm>

List of fuzzy terms.

Overrides:

Methods

clearDegreeOfMembership() → {FuzzyCompositeTerm}

Clears the degree of membership value.

Returns:
FuzzyCompositeTerm -

A reference to this term.

Overrides:

getDegreeOfMembership() → {Number}

Returns the degree of membership. The AND operator returns the minimum degree of membership of the sets it is operating on.

Returns:
Number -

Degree of membership.

Overrides:

toJSON() → {Object}

Transforms this instance into a JSON object.

Returns:
Object -

The JSON object.

Overrides:

updateDegreeOfMembership(value) → {FuzzyCompositeTerm}

Updates the degree of membership by the given value. This method is used when the term is part of a fuzzy rule's consequent.

Parameters:
Name Type Description
value Number

The value used to update the degree of membership.

Returns:
FuzzyCompositeTerm -

A reference to this term.

Overrides: