C# 클래스 UnityAI.Core.Fuzzy.ContinuousFuzzyRuleVariable

상속: FuzzyRuleVariable
파일 보기 프로젝트 열기: unityai/unityai-core 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetOrAddHedgedSet FuzzySet
GetRawValue double
GetSet FuzzySet
SetExist bool
SetFuzzyValue void
SetRawValue void
SetRawValue void
WithinUniverseOfDiscourse bool

공개 메소드들

메소드 설명
AddSetShoulder ( string setName, double alphaCut, double ptBeg, double ptEnd, EnumFuzzySetDirection setDir ) : void

Add Set Shoulder

AddSetTrapezoid ( string setName, double alphaCut, double ptLeft, double ptLeftCore, double ptRightCore, double ptRight ) : void

Add the Trapezoid Set

AddSetTriangle ( string setName, double alphaCut, double ptLeft, double ptCenter, double ptRight ) : void

Add a Set Triangle

ContinuousFuzzyRuleVariable ( FuzzyRuleBase fuzzyBase, string name, double discourseLo, double discourseHi ) : System

Create a new Continuous Variable

GetFuzzyValue ( ) : FuzzySet

Get the Fuzzy Value

GetNumericValue ( ) : double

Get the Numeric Value

Reset ( ) : void

Reset teh Variable

SetFuzzyValue ( FuzzySet newValue ) : void

Set the Fuzzy Value

SetNumericValue ( double newValue ) : void

Set the Numeric Value

ToString ( ) : string

Returns the name of this variable.

비공개 메소드들

메소드 설명
GetOrAddHedgedSet ( string setName, string hedges ) : FuzzySet

Get the Hedged Set or Add it

GetRawValue ( ) : double

Get the Crisp Value

GetSet ( string setName ) : FuzzySet

Get the Set By Name

SetExist ( string setName ) : bool

Check if the Set Exists

SetFuzzyValue ( FuzzySet newSet, double truthValue ) : void

Set the Truth Value

SetRawValue ( FuzzySet newSet ) : void

Set the Raw Value

SetRawValue ( double newValue ) : void

Set the Crispt value

WithinUniverseOfDiscourse ( double dValue ) : bool

Checks if variable is within the discourse

메소드 상세

AddSetShoulder() 공개 메소드

Add Set Shoulder
public AddSetShoulder ( string setName, double alphaCut, double ptBeg, double ptEnd, EnumFuzzySetDirection setDir ) : void
setName string
alphaCut double
ptBeg double
ptEnd double
setDir EnumFuzzySetDirection
리턴 void

AddSetTrapezoid() 공개 메소드

Add the Trapezoid Set
public AddSetTrapezoid ( string setName, double alphaCut, double ptLeft, double ptLeftCore, double ptRightCore, double ptRight ) : void
setName string
alphaCut double
ptLeft double
ptLeftCore double
ptRightCore double
ptRight double
리턴 void

AddSetTriangle() 공개 메소드

Add a Set Triangle
public AddSetTriangle ( string setName, double alphaCut, double ptLeft, double ptCenter, double ptRight ) : void
setName string
alphaCut double
ptLeft double
ptCenter double
ptRight double
리턴 void

ContinuousFuzzyRuleVariable() 공개 메소드

Create a new Continuous Variable
public ContinuousFuzzyRuleVariable ( FuzzyRuleBase fuzzyBase, string name, double discourseLo, double discourseHi ) : System
fuzzyBase FuzzyRuleBase FuzzyBase
name string Name
discourseLo double Low
discourseHi double High
리턴 System

GetFuzzyValue() 공개 메소드

Get the Fuzzy Value
public GetFuzzyValue ( ) : FuzzySet
리턴 FuzzySet

GetNumericValue() 공개 메소드

Get the Numeric Value
public GetNumericValue ( ) : double
리턴 double

Reset() 공개 메소드

Reset teh Variable
public Reset ( ) : void
리턴 void

SetFuzzyValue() 공개 메소드

Set the Fuzzy Value
public SetFuzzyValue ( FuzzySet newValue ) : void
newValue FuzzySet
리턴 void

SetNumericValue() 공개 메소드

Set the Numeric Value
public SetNumericValue ( double newValue ) : void
newValue double
리턴 void

ToString() 공개 메소드

Returns the name of this variable.
public ToString ( ) : string
리턴 string