Package svs_simulation :: Package ai_lib :: Module fuzzy :: Class FuzzySet
[show private | hide private]
[frames | no frames]

Class FuzzySet

FuzzyTerm --+
            |
           FuzzySet

Known Subclasses:
PersonalityTrait

A set contained within a fuzzy linguistic variable.

The fit vector for the set is defined as a list of tuples. The first item of the tuple relates to an index point within the range of the super set and the second item in the tuple defines the degree of membership for the set at that index point.
Method Summary
  __init__(self, name, fitVector, fuzzyVariable)
  addToEvalutor(self, evaluator)
Called when term is added to a fuzzy evaluator.
  evaluateDOM(self)
Returns membership value.
  setValueAt(self, index, value)
Sets index point in lookup table to specified value.
    Inherited from FuzzyTerm
  clearDOM(self)
Clears degree of membership (DOM) value.
  orDOM(self, inputValue)
Sets DOM by ORing input value against current value.

Method Details

addToEvalutor(self, evaluator)

Called when term is added to a fuzzy evaluator.
Overrides:
svs_simulation.ai_lib.fuzzy.FuzzyTerm.addToEvalutor

evaluateDOM(self)

Returns membership value.
Overrides:
svs_simulation.ai_lib.fuzzy.FuzzyTerm.evaluateDOM

setValueAt(self, index, value)

Sets index point in lookup table to specified value.
Parameters:
index - index point in lookup table
           (type=integer)
value - new value to insert
           (type=float)

Generated by Epydoc 2.1 on Thu Oct 20 15:30:27 2005 http://epydoc.sf.net