Property | Type | Description | |
---|---|---|---|
points | System.Point[] |
Method | Description | |
---|---|---|
GetMembership ( float x ) : float |
Calculate membership of a given value to the piecewise function.
|
|
PiecewiseLinearFunction ( System.Point points ) : System |
Initializes a new instance of the PiecewiseLinearFunction class. Specified point must be in crescent order on X axis and their Y value must be in the range of [0, 1]. |
Method | Description | |
---|---|---|
PiecewiseLinearFunction ( ) : System |
Initializes a new instance of the PiecewiseLinearFunction class. This constructor must be used only by inherited classes to create the points vector after the instantiation. |
public GetMembership ( float x ) : float | ||
x | float | Value which membership will to be calculated. |
return | float |
protected PiecewiseLinearFunction ( ) : System | ||
return | System |
public PiecewiseLinearFunction ( System.Point points ) : System | ||
points | System.Point | Array of (X,Y) coordinates of each start/end of the lines. |
return | System |