Calculate membership of a given value to the piecewise function.

Namespace:  AForge.Fuzzy
Assembly:  AForge.Fuzzy (in AForge.Fuzzy.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public float GetMembership(
	float x
)

Parameters

x
Type: System..::.Single
Value which membership will to be calculated.

Return Value

Degree of membership [0..1] of the value to the fuzzy set.

Implements

IMembershipFunction..::.GetMembership(Single)

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionPoints of the membership function are not initialized.

See Also