C# Класс UnityAI.Core.Fuzzy.FuzzySet

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
mdAlphaCut double
mdDomainHi double
mdDomainLo double
mdTruthVector double[]
meSetType EnumFuzzySetType
moParentVar ContinuousFuzzyRuleVariable
msSetName string

Private Properties

Свойство Тип Описание
AboveAlphaCut bool
AddClone void
ApplyAlphaCut void
ApplyHedgeConDil void
ApplyHedges void
Defuzzify double
GetScalar double
GetTruthValue double
Membership double
Normalize void
SegmentCurve int[]
VectorInterpret void

Открытые методы

Метод Описание
ToString ( ) : string

Retrieves a string describing the contents of the object.

Защищенные методы

Метод Описание
FuzzySet ( EnumFuzzySetType setType, string setName, ContinuousFuzzyRuleVariable parentVar, double alphaCut ) : System

Create a new Fuzzy Set

FuzzySet ( EnumFuzzySetType setType, string setName, ContinuousFuzzyRuleVariable parentVar, double alphaCut, double domainLo, double domainHi ) : System

Create a new Fuzzy Set

Приватные методы

Метод Описание
AboveAlphaCut ( double truthValue ) : bool

Checks if the truth values is above the alpha cut value.

AddClone ( string setName ) : void

Adda Clone of the Set

ApplyAlphaCut ( ) : void

Zeroes out truthValues if they are below alphaCut threshold.

ApplyHedgeConDil ( double exp ) : void

Concentrates or Dilutes

ApplyHedges ( string hedges ) : void

Uses linguistic hedges to modify fuzzy set.

Defuzzify ( EnumFuzzyDefuzzifyMethod veDefuzzMethod ) : double

Defuzzify the Set

GetScalar ( int index ) : double

Retrives the scalar for the given index within the domain range.

GetTruthValue ( int index ) : double

Get the Truth Value

Membership ( double scalar ) : double

Retrieves the membership value for the given scalar value.

Normalize ( ) : void

Adjusts the truthValues so that the max is 1.0.

SegmentCurve ( int numberOfValues, double scalarVector, double aTruthVector ) : int[]

Retrieves the first and last points in a segment curve interpolated from the working truth vector.

VectorInterpret ( double aTruthVector ) : void

Fills in the bits in the truth vector.

Описание методов

FuzzySet() защищенный Метод

Create a new Fuzzy Set
protected FuzzySet ( EnumFuzzySetType setType, string setName, ContinuousFuzzyRuleVariable parentVar, double alphaCut ) : System
setType EnumFuzzySetType
setName string
parentVar ContinuousFuzzyRuleVariable
alphaCut double
Результат System

FuzzySet() защищенный Метод

Create a new Fuzzy Set
protected FuzzySet ( EnumFuzzySetType setType, string setName, ContinuousFuzzyRuleVariable parentVar, double alphaCut, double domainLo, double domainHi ) : System
setType EnumFuzzySetType
setName string
parentVar ContinuousFuzzyRuleVariable
alphaCut double
domainLo double
domainHi double
Результат System

ToString() публичный Метод

Retrieves a string describing the contents of the object.
public ToString ( ) : string
Результат string

Описание свойств

mdAlphaCut защищенное свойство

protected double mdAlphaCut
Результат double

mdDomainHi защищенное свойство

protected double mdDomainHi
Результат double

mdDomainLo защищенное свойство

protected double mdDomainLo
Результат double

mdTruthVector защищенное свойство

protected double[] mdTruthVector
Результат double[]

meSetType защищенное свойство

protected EnumFuzzySetType meSetType
Результат EnumFuzzySetType

moParentVar защищенное свойство

protected ContinuousFuzzyRuleVariable,UnityAI.Core.Fuzzy moParentVar
Результат ContinuousFuzzyRuleVariable

msSetName защищенное свойство

protected string msSetName
Результат string