Home > SFMI > CorrectRulebase.m

CorrectRulebase

PURPOSE ^

Replace the references to the antecedent set 'Original' with the references to the antecedent set 'New'.

SYNOPSIS ^

function fis=CorrectRulebase(fis,Side,Dimension,Original,New)

DESCRIPTION ^

 Replace the references to the antecedent set 'Original' with the references to the antecedent set 'New'. 

      fis=CorrectRulebase(fis,InputDim,Original,New)

-------------------------------------------------------------------------
 Parameters
-------------------------------------------------------------------------
 fis - Complex structure describing a fuzzy inference system.

       fis--input(i) --name
          |          |-range
          |          |-mf(j)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |-output(i)--name
          |          |-range
          |          |-mf(j)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |-rule(m)--antecedent(i)
          |        |-consequent(j)
          |        |-weight
          |        |-connection

 Side     - antecedent or consequent.
 Dimension- Current input or output dimension.
 Original - Number of the set to which the references will be replaced.
 New      - Number of the set of which references will replace the
            original ones.
 -------------------------------------------------------------------------
 Returned values
 -------------------------------------------------------------------------
 fis - Complex structure describing a fuzzy inference system.
 -------------------------------------------------------------------------
 Remarks
 -------------------------------------------------------------------------


 Zsolt Csaba Johanyák, johanyak.csaba@gamf.kefo.hu, v. 1.3,  22 Apr 2007.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 26-Mar-2009 13:11:50 by m2html © 2005