Initializes a new instance of the TrapezoidalFunction class. With four points the shape is known as flat fuzzy number or fuzzy interval (/--\).

Namespace:  AForge.Fuzzy
Assembly:  AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public TrapezoidalFunction(
	float m1,
	float m2,
	float m3,
	float m4
)

Parameters

m1
Type: System..::.Single
X value where the degree of membership starts to raise.
m2
Type: System..::.Single
X value where the degree of membership reaches the maximum value.
m3
Type: System..::.Single
X value where the degree of membership starts to fall.
m4
Type: System..::.Single
X value where the degree of membership reaches the minimum value.

Remarks

Maximum membership value is set to 1.0 and the minimum is set to 0.0.

See Also