coding 2-inputs (overlap)

Paul Hoskins (serapions@excite.de)
Sat, 11 Dec 1999 12:09:20 +0100 (MET)

Hello,
I'm trying to write a fuzzy logic program using c++.

The system has 2 input variables, temperature, and pressure.

The output set is "flow" in in3/sec.

I can enter crisp values for temperature

and pressure, then calculate the degree of membership,

U(t^p)= min(Ut,Up), and finally map the resulting percentage

(0-1,inference?) to the output set.

My problem is when two linguistics variables overlap.

For example, cold (0 deg- 30 deg)
cool (20 deg- 50 deg)
These linguistics variables overlap from

20 degrees to 30 degrees.

My program has to calculate a degree of truth

for the cold set, and another truth value for

the cool set.

Does anyone have a suggestion for coding this in c++?

The two temperature truth values must then be or'ed with the

truth value of the pressure set U(tvp)= max(Ut,Up).

Again, coding in this in C++ is tricky.

thanks, Paul serapions@excite.de

Excite
Diese E-mail erreicht Sie durch Excites kostenlosen E-mail-Service.
Holen Sie sich Ihre eigene E-mail-Adresse bei http://www.excite.de

############################################################################
This message was posted through the fuzzy mailing list.
(1) To subscribe to this mailing list, send a message body of
"SUB FUZZY-MAIL myFirstName mySurname" to listproc@dbai.tuwien.ac.at
(2) To unsubscribe from this mailing list, send a message body of
"UNSUB FUZZY-MAIL" or "UNSUB FUZZY-MAIL yoursubscription@email.address.com"
to listproc@dbai.tuwien.ac.at
(3) To reach the human who maintains the list, send mail to
fuzzy-owner@dbai.tuwien.ac.at
(4) WWW access and other information on Fuzzy Sets and Logic see
http://www.dbai.tuwien.ac.at/ftp/mlowner/fuzzy-mail.info
(5) WWW archive: http://www.dbai.tuwien.ac.at/marchives/fuzzy-mail/index.html