C# Class AForge.Fuzzy.Rulebase

The class represents a fuzzy rulebase, a set of fuzzy rules used in a Fuzzy Inference System.
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

AddRule() public méthode

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.
Résultat void

ClearRules() public méthode

Removes all the fuzzy rules of the database.
public ClearRules ( ) : void
Résultat void

GetRule() public méthode

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.
Résultat AForge.Fuzzy.Rule

GetRules() public méthode

Gets all the rules of the rulebase.
public GetRules ( ) : AForge.Fuzzy.Rule[]
Résultat AForge.Fuzzy.Rule[]

Rulebase() public méthode

Initializes a new instance of the Rulebase class.
public Rulebase ( ) : System
Résultat System