 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] FuzzySets package
| [MUG] FuzzySets package |
|
Author: Douglas Wilhelm Harder
Posted: Tue, 11 Feb 2003 19:09:50 -0500
|
>> From: Douglas Wilhelm Harder "douglas"
Hello,
I've just put the finishing touches on a FuzzySets package which
allows the Maple8 user to experiment with fuzzy sets.
Features:
The package creates fuzzy sets of the real line. Nothing more,
nothing less.
Five constructors: Gamma, L, Lambda, FuzzySet, Partition
The first three return fuzzy sets which resemble the letters.
The fourth works something like piecewise.
The last partitions a set of points into a sequence of fuzzy sets.
union, intersect, minus, subset and in are all overloaded to
work with these fuzzy sets. The function Complement takes the
the complement of a fuzzy set.
and, or, not, implies and xor are overloaded to do fuzzy logic
on fuzzy values (numerics between 0 and 1.)
The mu[S](x) function converts the fuzzy set S into its membership
function.
evalb converts fuzzy values into boolean values and evalfz converts
true and false into fuzzy values 0 and 1.
The following t-norms are supported for calculating fuzzy logic:
default (min - max)
Hamacher
algebraic
Einstein
bounded
A defuzzifier which use the 'center of gravity' and 'center of area'
methods.
I've listed it as 'alpha', but it's been tested and there is a working
example at the bottom (the classic inverted pendulum. :) I just don't
want someone expect it to be perfect.
The Maple worksheet is available for download at my site:
http://cheetah.vlsi.uwaterloo.ca/~dwharder/maplesque/
All comments and especially criticisms are *very* welcome.
Thanks,
Douglas
--
Douglas Wilhelm Harder -: 3- -.- =.- -: -3 .* =. -:- :- . -: .= -:- * -:- -.
Department of Electrical and Computer Engineering http://ece.uwaterloo.ca/
University of Waterloo http://cheetah.vlsi.uwaterloo.ca/~dwharder/
.___ DC 2703 519-885-1211 x7023 http://links.uwaterloo.ca/
\ ."""". .-----._____.-----._______.-----._____.-----._____.--
\____/ --10-- http://www.scg.uwaterloo.ca/ http://mapleapps.com/
|
Previous by date: [MUG] Binary Tree Data Structure, Bruno Guerrieri
Next by date: [MUG] Problem using evalf(Int(..)) to verify density function, Jay Porter
Previous thread: [MUG] maple printing question, Clearthink
Next thread: [MUG] Problem using evalf(Int(..)) to verify density function, Jay Porter
|
|
|