C# Class UnityAI.Core.Fuzzy.FuzzyClause

显示文件 Open project: unityai/unityai-core Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

String Representing this Object

Protected Methods

Method Description
Evaluate ( ) : double

Evaluate the Clause

Evaluate ( double truthValue ) : double

Evaluate the Clause as a Consequent

FuzzyClause ( FuzzyRuleVariable lhs, EnumFuzzyOperator op, FuzzySet rhs ) : System

Creates a new fuzzy clause with the specified lvalue, operator, and rvalue.

Method Details

Evaluate() protected method

Evaluate the Clause
protected Evaluate ( ) : double
return double

Evaluate() protected method

Evaluate the Clause as a Consequent
protected Evaluate ( double truthValue ) : double
truthValue double
return double

FuzzyClause() protected method

Creates a new fuzzy clause with the specified lvalue, operator, and rvalue.
protected FuzzyClause ( FuzzyRuleVariable lhs, EnumFuzzyOperator op, FuzzySet rhs ) : System
lhs FuzzyRuleVariable the FuzzyRuleVariable which is the lvalue ///
op EnumFuzzyOperator the integer operator ///
rhs FuzzySet the FuzzySet which is the rvalue ///
return System

ToString() public method

String Representing this Object
public ToString ( ) : string
return string