Java-Gaming.org Hi !
 Featured games (84) games approved by the League of Dukes Games in Showcase (595) Games in Android Showcase (169) games submitted by our members Games in WIP (647) games currently in development
 News: Read the Java Gaming Resources, or peek at the official Java tutorials
Pages: [1]
 ignore  |  Print
 Fuzzy logic operations  (Read 2288 times) 0 Members and 1 Guest are viewing this topic.
JavaSnob77

Junior Newbie

You got JavaServed!

 « Posted 2005-01-22 04:54:12 »

Ok, so lemme get this straight:

NOT(A) = 1.0 - A
AND(A, B) = min(A, B) [but sometimes A * B is used]
OR(A, B) = max(A, B) [but sometimes A + B - AND(A, B) is used]

If all of that is true...then what's XOR(A, B)?

Rob
JavaSnob77

Junior Newbie

You got JavaServed!

 « Reply #1 - Posted 2005-01-22 06:55:16 »

Nevermind, I figured it out.  In case anyone's curious:

XOR(A, B) = min(max(a, b), 1.0 - min(a,b))
Pages: [1]
 ignore  |  Print

You cannot reply to this message, because it is very, very old.

 KaiHH (9 views) 2015-07-07 10:18:40 deepthought (54 views) 2015-06-30 15:39:44 deepthought (57 views) 2015-06-30 15:39:09 deepthought (65 views) 2015-06-30 15:36:52 Za\'Anzabar (44 views) 2015-06-29 05:44:54 TritonDreyja (50 views) 2015-06-24 17:10:40 CopyableCougar4 (52 views) 2015-06-23 00:34:45 BurntPizza (58 views) 2015-06-21 20:36:46 cookiecompiler (99 views) 2015-06-11 15:42:53 cookiecompiler (58 views) 2015-06-11 15:41:14
 princec 31x orangepascal 22x wessles 22x CopyableCougar4 19x EgonOlsen 18x BurntPizza 17x opiop65 17x ags1 15x nsigma 15x theagentd 15x Riven 13x KaiHH 13x Jesse 11x SauronWatchesYou 11x KevinWorkman 11x sunburn 11x
 How Do I Expand My Game?by bashfrog2015-06-14 11:34:43List of Learning Resources2015-05-31 05:37:30Intersection Methodsby Roquen2015-05-29 08:19:33List of Learning Resources2015-05-05 10:20:32How to: JGO Wikiby Mac702015-02-17 20:56:162D Dynamic Lighting2015-01-01 20:25:42How do I start Java Game Development?by gouessej2014-12-27 19:41:21Resources for WIP gamesby kpars2014-12-18 10:26:14
 java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org