|
TrapezoidalFunction Constructor (Single, Single, Single, Single, Single, Single)
|
Initializes a new instance of the
TrapezoidalFunction class.
With four points the shape is known as flat fuzzy number or fuzzy interval (/--\).
Namespace:
Accord.Fuzzy
Assembly:
Accord.Fuzzy (in Accord.Fuzzy.dll) Version: 3.8.0
Syntax public TrapezoidalFunction(
float m1,
float m2,
float m3,
float m4,
float max,
float min
)
Public Sub New (
m1 As Single,
m2 As Single,
m3 As Single,
m4 As Single,
max As Single,
min As Single
)
Request Example
View SourceParameters
- 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. - m3
- Type: SystemSingle
X value where the degree of membership starts to fall. - m4
- 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