Represents a membership function.
MembershipFunction
01 Syntax
Microsoft.VisualBasic.Math.Logical.FuzzyLogic.MembershipFunction
02 Methods
03 Properties
04 Members
#ctor
Default constructor.
#ctor(
String)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The name that identificates the membership function. |
#ctor(
String, Double, Double, Double, Double)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The name that identificates the linguistic variable. |
x0 | Double | The value of the (x0, 0) point. |
x1 | Double | The value of the (x1, 1) point. |
x2 | Double | The value of the (x2, 1) point. |
x3 | Double | The value of the (x3, 0) point. |
Centorid
Calculate the centroid of a trapezoidal membership function.
Returns
The value of centroid.
Area
Calculate the area of a trapezoidal membership function.
Returns
The value of area.
Name
The name that identificates the membership function.
X0
The value of the (x0, 0) point.
X1
The value of the (x1, 1) point.
X2
The value of the (x2, 1) point.
X3
The value of the (x3, 0) point.
Value
The value of membership function after evaluation process.