public class TrapezoidalFunction extends PiecewiseLinearFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
TrapezoidalFunction.EdgeType
Enumeration used to create trapezoidal membership functions with half trapezoids.
|
points| Constructor and Description |
|---|
TrapezoidalFunction(float m1,
float m2,
float m3)
Initializes a new instance of the TrapezoidalFunction class.
|
TrapezoidalFunction(float m1,
float m2,
float m3,
float m4)
Initializes a new instance of the TrapezoidalFunction class.
|
TrapezoidalFunction(float m1,
float m2,
float m3,
float max,
float min)
Initializes a new instance of the TrapezoidalFunction class.
|
TrapezoidalFunction(float m1,
float m2,
float m3,
float m4,
float max,
float min)
Initializes a new instance of the TrapezoidalFunction class.
|
TrapezoidalFunction(float m1,
float m2,
float max,
float min,
TrapezoidalFunction.EdgeType edge)
Initializes a new instance of the TrapezoidalFunction class.
|
TrapezoidalFunction(float m1,
float m2,
TrapezoidalFunction.EdgeType edge)
Initializes a new instance of the TrapezoidalFunction class.
|
GetMembership, LeftLimit, RightLimitpublic TrapezoidalFunction(float m1,
float m2,
float m3,
float m4,
float max,
float min)
m1 - X value where the degree of membership starts to raise.m2 - X value where the degree of membership reaches the maximum value.m3 - X value where the degree of membership starts to fall.m4 - X value where the degree of membership reaches the minimum value.max - The maximum value that the membership will reach, [0, 1].min - The minimum value that the membership will reach, [0, 1].public TrapezoidalFunction(float m1,
float m2,
float m3,
float m4)
m1 - X value where the degree of membership starts to raise.m2 - X value where the degree of membership reaches the maximum value.m3 - X value where the degree of membership starts to fall.m4 - X value where the degree of membership reaches the minimum value.public TrapezoidalFunction(float m1,
float m2,
float m3,
float max,
float min)
m1 - X value where the degree of membership starts to raise.m2 - X value where the degree of membership reaches the maximum value and starts to fall.m3 - X value where the degree of membership reaches the minimum value.max - The maximum value that the membership will reach, [0, 1].min - The minimum value that the membership will reach, [0, 1].public TrapezoidalFunction(float m1,
float m2,
float m3)
m1 - X value where the degree of membership starts to raise.m2 - X value where the degree of membership reaches the maximum value and starts to fall.m3 - X value where the degree of membership reaches the minimum value.
public TrapezoidalFunction(float m1,
float m2,
float max,
float min,
TrapezoidalFunction.EdgeType edge)
m1 - Edge = Left: X value where the degree of membership starts to raise. m2 - Edge = Left: X value where the degree of membership reaches the maximum. max - The maximum value that the membership will reach, [0, 1].min - The minimum value that the membership will reach, [0, 1].edge - Trapezoid's EdgeType.public TrapezoidalFunction(float m1,
float m2,
TrapezoidalFunction.EdgeType edge)
m1 - Edge = Left: X value where the degree of membership starts to raise. m2 - Edge = Left: X value where the degree of membership reaches the maximum. edge - Trapezoid's EdgeType.