| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package ai_lib :: Module fuzzy |
|
Implementation of fuzzy logic system.
The evaluation method of theFuzzyVariable is based on the Seguno
method. This requires that each subset be represented as a 'fuzzy
singleton' (ie a single value rather than a range). When subsets are
created, a segunoSingleton property is created for it based
on the centroid of the fitness vector.
Author: Simon Yuill
Contact: simon@lipparosa.org
Copyright: 2005 Simon Yuill
License: GNU GPL version 2 or any later version
| Classes | |
|---|---|
FuzzyAND |
Performs fuzzy AND operation on member terms. |
FuzzyEvaluator |
Collects a set of rules and handles their evaluation of input. |
FuzzyNOT |
Performs fuzzy NOT operation on member terms. |
FuzzyOR |
Performs fuzzy OR operation on member terms. |
FuzzyRule |
Respresents and evaluates a single fuzzy rule. |
FuzzySet |
A set contained within a fuzzy linguistic variable. |
FuzzyTerm |
Base class from which fuzzy sets and operators are derived. |
FuzzyVariable |
Encapsulation of a fuzzy super set. |
SimpleFuzzyEvaluator |
The SimpleFuzzyEvaluator patches two fuzzy sets together
and evaluates their input. |
| Exceptions | |
|---|---|
FuzzyException |
|
| Function Summary | |
|---|---|
Creates a lookup table for a set. | |
Finds the centre ofgravity for the set. | |
Maps the values between two items into the specified set according. | |
Finds nearest match for an index within a range of indices. | |
Converts a formatted string into a fitvector. | |
Returns position of index value in indices. | |
| Variable Summary | |
|---|---|
Constants |
logic_const = <svs_core.utilities.lib.Constants instance...
|
| Function Details |
|---|
buildLookupForSet(fuzzySet)Creates a lookup table for a set.
|
centroid(fuzzySet)Finds the centre ofgravity for the set.
|
mapIndices(itemA, itemB, fuzzySet)Maps the values between two items into the specified set according.
|
nearestIndex(testIndex, indices)Finds nearest match for an index within a range of indices.
|
parseFitVectorString(fvStr)
Converts a formatted string into a fitvector.
The string should be in the form:
C{<index>:<membership>, <index>:<membership>, etc}
where each entry is separated by a comma, and the
index point and membership value are separated by
a colon.
|
positionOf(index, indices)Returns position of index value in indices. |
| Variable Details |
|---|
logic_const
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 | http://epydoc.sf.net |