<< fcmeans sciFLT flt_path >>

sciFLT >> sciFLT > fls_structure

fls_structure

Scilab Fuzzy Logic System Structure

Description

Any fls (fuzzy logic system) used with this toolbox was structured in a t-list, and this structure is over-loaded to help user manipulation.

Structure

The general part have the following structure:

The inputs have the following structure:

The outputs have the following structure:

The rule have the following structure:

The i value of the j element in columns [1:ninputs] indicate the i-member function of the j input, if the value is negative, then, the complement is applicated, if the value is 0 then, the rule no take in count the input.

The i value of the j element in columns [ninputs+1:ninputs+noutpus] indicate the i-member function of the j output, if the value is 0 then, the rule no take in count the output.

The value of the [ninputs+noutputs+1] indicate how the rule was compound: 0 for T-Norm (OR) or 1 for S-Norm (AND).

The value of the [ninputs+noutputs+2] indicate the weight of the rule.

Examples

// A new fls structure
fls=newfls();
fls.name="example";
fls.comment="This is an example";
fls.TNorm="min";
fls.SNorm="max";
fls.Comp="one";
fls.defuzzMethod="wtaver";
fls=addvar(fls,"input","speed",[0 100]);
fls=addmf(fls,"input",1,"low","trimf",[-50 0 50]);
fls=addmf(fls,"input",1,"med","trimf",[0 50 100]);
fls=addmf(fls,"input",1,"high","trimf",[50 100 150]);
fls=addvar(fls,"output","actuation",[0 1]);
fls=addmf(fls,"output",1,"run","constant",0);
fls=addmf(fls,"output",1,"start_to_stop","constant",0.5);
fls=addmf(fls,"output",1,"stop","constant",1);

See Also

Authors

Jaime Urzua Grez

Holger Nahrstaedt


Report an issue
<< fcmeans sciFLT flt_path >>