NormalDistFuzzySet(left, midpoint, right, standardDeviation)

Class for representing a fuzzy set that has a normal distribution shape. It can be defined by the mean and standard deviation.

new NormalDistFuzzySet(left, midpoint, right, standardDeviation)

Constructs a new triangular fuzzy set with the given values.

Parameters:
Name Type Default Description
left Number 0

Represents the left border of this fuzzy set.

midpoint Number 0

Mean or expectation of the normal distribution.

right Number 0

Represents the right border of this fuzzy set.

standardDeviation Number 0

Standard deviation of the normal distribution.

Author:

Extends

Members

degreeOfMembership :Number

Represents the degree of membership to this fuzzy set.

Overrides:
Default Value:
  • 0

left :Number

Represents the left border of this fuzzy set.

Overrides:
Default Value:
  • 0

midpoint :Number

Represents the peak value of this fuzzy set.

Default Value:
  • 0

representativeValue :Number

The maximum of the set's membership function. For instance, if the set is triangular then this will be the peak point of the triangular. If the set has a plateau then this value will be the mid point of the plateau. Used to avoid runtime calculations.

Overrides:
Default Value:
  • 0

Represents the right border of this fuzzy set.

Overrides:
Default Value:
  • 0

standardDeviation :Number

Represents the standard deviation of this fuzzy set.

Default Value:
  • 0

readonly uuid :String

Unique ID, primarily used in context of serialization/deserialization.

Overrides:

Methods

clearDegreeOfMembership() → {FuzzySet}

Clears the degree of membership value.

Returns:
FuzzySet -

A reference to this fuzzy set.

Overrides:

computeDegreeOfMembership(value) → {Number}

Computes the degree of membership for the given value.

Parameters:
Name Type Description
value Number

The value used to calculate the degree of membership.

Returns:
Number -

The degree of membership.

Overrides:

fromJSON(json) → {NormalDistFuzzySet}

Restores this instance from the given JSON object.

Parameters:
Name Type Description
json Object

The JSON object.

Returns:
NormalDistFuzzySet -

A reference to this fuzzy set.

Overrides:

getDegreeOfMembership() → {Number}

Returns the degree of membership.

Returns:
Number -

Degree of membership.

Overrides:

toJSON() → {Object}

Transforms this instance into a JSON object.

Returns:
Object -

The JSON object.

Overrides:

updateDegreeOfMembership() → {FuzzySet}

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

Returns:
FuzzySet -

A reference to this fuzzy set.

Overrides: