Package pyrobot :: Package brain :: Module fuzzy
[frames | no frames]

Module pyrobot.brain.fuzzy

Fuzzy Logic Base Class
E. Jucovy, 2005
based on fuzzy.py by D.S. Blank, 2001

Classes
FuzzyClassifier Fuzzy classifier class with a membership function and parameters.
FuzzyOperators  
FuzzyValue Fuzzy value class...
StandardFuzzyOperators  

Exceptions
FuzzyError  

Function Summary
  BellFuzzy(a, b, c)
All values will effectively be mapped to either 0, 0.5, or 1.
  FallingFuzzy(a, b)
Create a new FuzzyClassifier with a linear falling membership...
  Fuzzy(a, b)
Create a new FuzzyClassifier with two parameters and...
  GaussianFuzzy(c, s)
Create a new FuzzyClassifier with a gaussian membership function...
  LRFuzzy(f, g, c, a, b)
Create a new FuzzyClassifier with a left-right membership...
  RisingFuzzy(a, b)
Create a new FuzzyClassifier with a linear rising membership...
  SigmoidFuzzy(a, c)
Create a new FuzzyClassifier with a sigmoid membership function and parameters a,c I wouldn't use this yet if I were you.
  TrapezoidFuzzy(a, b, c, d)
Create a new FuzzyClassifier with a linear trapezoidal membership...
  TriangleFuzzy(a, b, c)
Create a new FuzzyClassifier with a linear triangular membership...

Variable Summary
str __author__ = 'E. Jucovy, Douglas Blank <dblank@brynmawr....
str __version__ = '$Revision: 1.8 $'

Function Details

BellFuzzy(a, b, c)

All values will effectively be mapped to either 0, 0.5, or 1.
(Not quite, since it's continuous, but close.)

FallingFuzzy(a, b)

Create a new FuzzyClassifier with a linear falling membership
function and parameters a,b

a: lower bound, mu(a) = 1.0
b: upper bound, mu(b) = 0.0

Fuzzy(a, b)

Create a new FuzzyClassifier with two parameters and
default membership function

Implemented for backwards compatibility

GaussianFuzzy(c, s)

Create a new FuzzyClassifier with a gaussian membership function
and parameters c,s

c: center (mean), mu(c) = 1.0
s: spread (standard deviation)

LRFuzzy(f, g, c, a, b)

Create a new FuzzyClassifier with a left-right membership
function and parameters f,g,c,a,b

f: left-side function (or FuzzyClassifier)
g: right-side function (or FuzzyClassifier)
c: switching point

RisingFuzzy(a, b)

Create a new FuzzyClassifier with a linear rising membership
function and parameters a,b

a: lower bound, mu(a) = 0.0
b: upper bound, mu(b) = 1.0

SigmoidFuzzy(a, c)

Create a new FuzzyClassifier with a sigmoid membership function
and parameters a,c

I wouldn't use this yet if I were you.

TrapezoidFuzzy(a, b, c, d)

Create a new FuzzyClassifier with a linear trapezoidal membership
function and parameters a,b,c,d

a: lower bound, mu(a) = 0.0
b: start of top, mu(b) = 1.0
c: end of top, mu(c) = 1.0
d: upper bound, mu(d) = 0.0

TriangleFuzzy(a, b, c)

Create a new FuzzyClassifier with a linear triangular membership
function and parameters a,b,c

a: lower bound, mu(a) = 0.0
b: midpoint, mu(b) = 1.0
c: upper bound, mu(c) = 0.0

Variable Details

__author__

Type:
str
Value:
'E. Jucovy, Douglas Blank <dblank@brynmawr.edu>'                       

__version__

Type:
str
Value:
'$Revision: 1.8 $'                                                     

Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 http://epydoc.sf.net