Click or drag to resize
Accord.NET (logo)

TrapezoidalFunction Constructor (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
)
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.
Remarks

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

See Also