Initializes a new instance of the TrapezoidalFunction class. With three points the shape is known as triangular fuzzy number or just fuzzy number (/\).

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 max,
	float min
)

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 and starts to fall.
m3
Type: System..::.Single
X value where the degree of membership reaches the minimum value.
max
Type: System..::.Single
The maximum value that the membership will reach, [0, 1].
min
Type: System..::.Single
The minimum value that the membership will reach, [0, 1].

See Also