Initializes a new instance of the TrapezoidalFunction class.
With three points and an edge this shape can be a left fuzzy number (/--) or a right fuzzy number (--\).
Namespace:
AForge.FuzzyAssembly: AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
public TrapezoidalFunction( float m1, float m2, TrapezoidalFunction..::.EdgeType edge ) |
Parameters
- m1
- Type: System..::.Single
Edge = Left: X value where the degree of membership starts to raise. Edge = Right: X value where the function starts, with maximum degree of membership.
- m2
- Type: System..::.Single
Edge = Left: X value where the degree of membership reaches the maximum. Edge = Right: X value where the degree of membership reaches minimum value.
- edge
- Type: AForge.Fuzzy..::.TrapezoidalFunction..::.EdgeType
Trapezoid's TrapezoidalFunction..::.EdgeType.
Remarks
Maximum membership value is set to 1.0 and the minimum is set to 0.0.