C# 클래스 Accord.Fuzzy.Rulebase

The class represents a fuzzy rulebase, a set of fuzzy rules used in a Fuzzy Inference System.
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
AddRule ( Rule rule ) : void

Adds a fuzzy rule to the database.

ClearRules ( ) : void

Removes all the fuzzy rules of the database.

GetRule ( string ruleName ) : Rule

Returns an existing fuzzy rule from the rulebase.

GetRules ( ) : Accord.Fuzzy.Rule[]

Gets all the rules of the rulebase.

Rulebase ( ) : System

Initializes a new instance of the Rulebase class.

메소드 상세

AddRule() 공개 메소드

Adds a fuzzy rule to the database.
The fuzzy rule was not initialized. The fuzzy rule name already exists in the rulebase.
public AddRule ( Rule rule ) : void
rule Rule A fuzzy to add to the database.
리턴 void

ClearRules() 공개 메소드

Removes all the fuzzy rules of the database.
public ClearRules ( ) : void
리턴 void

GetRule() 공개 메소드

Returns an existing fuzzy rule from the rulebase.
The rule indicated in ruleName was not found in the rulebase.
public GetRule ( string ruleName ) : Rule
ruleName string Name of the fuzzy to retrieve.
리턴 Rule

GetRules() 공개 메소드

Gets all the rules of the rulebase.
public GetRules ( ) : Accord.Fuzzy.Rule[]
리턴 Accord.Fuzzy.Rule[]

Rulebase() 공개 메소드

Initializes a new instance of the Rulebase class.
public Rulebase ( ) : System
리턴 System