C# 클래스 AForge.Fuzzy.MaximumCoNorm

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

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

Sample usage:

// 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 );
상속: ICoNorm
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET

공개 메소드들

메소드 설명
Evaluate ( float membershipA, float membershipB ) : float

Calculates the numerical result of the OR operation applied to two fuzzy membership values.

메소드 상세

Evaluate() 공개 메소드

Calculates the numerical result of the OR operation applied to two fuzzy membership values.
public Evaluate ( float membershipA, float membershipB ) : float
membershipA float A fuzzy membership value, [0..1].
membershipB float A fuzzy membership value, [0..1].
리턴 float