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
)

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.

Remarks

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

See Also