Maximum CoNorm, used to calculate the linguistic value of a OR operation.

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

Syntax

C#
public class MaximumCoNorm : ICoNorm

Remarks

The maximum CoNorm uses a maximum operator to compute the OR among two fuzzy memberships.

Sample usage:

CopyC#
// creating 2 fuzzy sets to represent Cool (Temperature) and Near (Distance)
TrapezoidalFunction function1 = new TrapezoidalFunction( 13, 18, 23, 28 );
FuzzySet fsCool = new FuzzySet( "Cool", function1 );
TrapezoidalFunction function2 = new TrapezoidalFunction( 23, 28, 33, 38 );
FuzzySet fsNear = new FuzzySet( "Near", function2 );

// getting memberships
float m1 = fsCool.GetMembership( 15 );
float m2 = fsNear.GetMembership( 35 );

// computing the membership of "Cool OR Near"
MaximumCoNorm OR = new MaximumCoNorm( );
float result = OR.Evaluate( m1, m2 );

// show result
Console.WriteLine( result );

Inheritance Hierarchy

System..::.Object
  AForge.Fuzzy..::.MaximumCoNorm

See Also