C# Класс AForge.Fuzzy.Rulebase

The class represents a fuzzy rulebase, a set of fuzzy rules used in a Fuzzy Inference System.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddRule ( AForge.Fuzzy.Rule rule ) : void

Adds a fuzzy rule to the database.

ClearRules ( ) : void

Removes all the fuzzy rules of the database.

GetRule ( string ruleName ) : AForge.Fuzzy.Rule

Returns an existing fuzzy rule from the rulebase.

GetRules ( ) : AForge.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 ( AForge.Fuzzy.Rule rule ) : void
rule AForge.Fuzzy.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 ) : AForge.Fuzzy.Rule
ruleName string Name of the fuzzy to retrieve.
Результат AForge.Fuzzy.Rule

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

Gets all the rules of the rulebase.
public GetRules ( ) : AForge.Fuzzy.Rule[]
Результат AForge.Fuzzy.Rule[]

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

Initializes a new instance of the Rulebase class.
public Rulebase ( ) : System
Результат System