Home > FRIT > distances.m

distances

PURPOSE ^

Calculates the lower and upper distances between the rules and the observation.

SYNOPSIS ^

function fis = distances(fis,obs,w)

DESCRIPTION ^

 Calculates the lower and upper distances between the rules and the observation.
 This is the first half of 'NearestTwoRules' for 'KHstabilized'.

 fis = distances(fis,obs,w)

 -------------------------------------------------------------------------
 Parameters
 -------------------------------------------------------------------------
 obs - structure describing the observation.
           obs(i)--name
                 |-type
                 |-params
                 |-paramsy
                 |-ObsName
                 |-inf
                 |-sup
 fis - structure describing the fuzzy inference system. 
       fis--name
          |-andMethod
          |-orMethod
          |-defuzzMethod
          |-impMethod
          |-aggMethod
          |-input(i)--name
          |          |-range
          |          |-mf(j)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-inf
          |                 |-sup
          |-output(k)--name
          |          |-range
          |          |-mf(l)--name
          |                 |-type
          |                 |-params
          |                 |-paramsy
          |                 |-inf
          |                 |-sup
          |-rule(m)--antecedent
          |        |-consequent
          |        |-weight
          |        |-connection
 w - parameter in the Minkowski type distance formula.
 -------------------------------------------------------------------------
 Returned values
 -------------------------------------------------------------------------
 fis - structure describing the fuzzy inference system

 -------------------------------------------------------------------------
 Remarks
 -------------------------------------------------------------------------

 Zsolt Csaba Johanyák, johanyak.csaba@gamf.kefo.hu, v. 1.1,  11 November 2006

 Modified by:
 Krisztián Balázs, 19 June 2008

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 05-Sep-2008 09:37:47 by m2html © 2005