Click or drag to resize
Accord.NET (logo)

TrapezoidalFunction Constructor (Single, Single, Single, Single, Single)

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

Namespace:  Accord.Fuzzy
Assembly:  Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax
public TrapezoidalFunction(
	float m1,
	float m2,
	float m3,
	float max,
	float min
)
Request Example View Source

Parameters

m1
Type: SystemSingle
X value where the degree of membership starts to raise.
m2
Type: SystemSingle
X value where the degree of membership reaches the maximum value and starts to fall.
m3
Type: SystemSingle
X value where the degree of membership reaches the minimum value.
max
Type: SystemSingle
The maximum value that the membership will reach, [0, 1].
min
Type: SystemSingle
The minimum value that the membership will reach, [0, 1].
See Also