C# Class AForge.Fuzzy.Database

The class represents a fuzzy database, a set of linguistic variables used in a Fuzzy Inference System.
Exibir arquivo Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Public Methods

Method Description
AddVariable ( LinguisticVariable variable ) : void

Adds a linguistic variable to the database.

ClearVariables ( ) : void

Removes all the linguistic variables of the database.

Database ( ) : System

Initializes a new instance of the Database class.

GetVariable ( string variableName ) : LinguisticVariable

Returns an existing linguistic variable from the database.

Method Details

AddVariable() public method

Adds a linguistic variable to the database.
The linguistic variable was not initialized. The linguistic variable name already exists in the database.
public AddVariable ( LinguisticVariable variable ) : void
variable LinguisticVariable A linguistic variable to add.
return void

ClearVariables() public method

Removes all the linguistic variables of the database.
public ClearVariables ( ) : void
return void

Database() public method

Initializes a new instance of the Database class.
public Database ( ) : System
return System

GetVariable() public method

Returns an existing linguistic variable from the database.
The variable indicated was not found in the database.
public GetVariable ( string variableName ) : LinguisticVariable
variableName string Name of the linguistic variable to retrieve.
return LinguisticVariable