0

I'm having trouble solving an exercise involving fuzzy logic. It basically says something like that (pardon me if I made some mistake, I'm basing only on my poor memory)

John goes to park if it is a beautiful day and it is not too hot, or if it isn't raining. Assuming that:

  1. It is a beautiful day with 0.6 degree

  2. It is hot with 0.4 degree

  3. It is raining with 0.8 degree

With which degree John will go to park?

Although I've solved a lot of exercises including fuzzy number or fuzzy set, I basically have no idea on how to solve this involving fuzzy logic.


EDIT

It seems that the solution to the problem is something like the minimum values of the 3 degree; the negative one should be complemented to one. So, $$min(0.6, 0.4, 0.2) = 0.2.$$

but I'm not too sure.

  • Are you supposed to assume beautiful/hot/drizzling are independent? – Henry Nov 24 '14 at 17:52
  • @Henry I think so. Not sure tough, these are the only data I'm given. – tigerjack Nov 24 '14 at 17:58
  • But how can it be beautiful and drizzling at the same time? Maybe it's all in one's attitude... – coffeemath Nov 24 '14 at 18:01
  • @coffeemath I don't know, maybe these degrees were different. Anyway, I don't think it change too much, or am I wrong? What do you mean by attitude? – tigerjack Nov 24 '14 at 18:16
  • @tigerjack89 I was trying to make light of things with the term "attitude", since for some folks a drizzling day might be considered beautiful (by them). Probably should have inserted a :-) sign in the comment. But of course the three "degree" you mention add to more than $1$ imply that the events are not mutually exclusive. I'd look in your text/ask your teacher about independence or not. – coffeemath Nov 24 '14 at 18:42
  • @coffeemath oh, get it now :D so, basing on these assumptions, do you think that the problem is unsolvable? – tigerjack Nov 25 '14 at 07:39
  • I looked up fuzzy logic, and the "degree" seems differently defined than "probability", maybe something to do with degree of belief. Try google of fuzzy logic and get to the Wikipedia article, maybe others. – coffeemath Nov 25 '14 at 11:01
  • @coffeemath yes, they are very different actually. However, still can't get a reasonable solution. It seems too few datas... – tigerjack Nov 26 '14 at 11:23
  • @coffeemath and anyone else. It seems that the solution to the problem is something like the minimum values of the 3 degree; the negative one should be complemented to one. So, min(0.6, 0.4, 0.2) = 0.2. Not sure btw. Hope that someone can comment on this. – tigerjack Dec 03 '14 at 17:32
  • @tigerjack89 Isn't there SOME reference which says what "deg" means, in a problem? You must have gotten the question from somewhere, either a book or a course (if a course, ask the teacher and get back to this site and fill in the definition, please). – coffeemath Dec 03 '14 at 17:54
  • @coffeemath you don't know my teacher- lucky you. – tigerjack Dec 03 '14 at 19:19

2 Answers2

1

Ok, not sure by any means, but I think this is the right solution. We have to consider the two logic conjunctives $OR$ and $AND$. The isomorphism with the theory of sets specifies that these two operations are mapped respectively by $\cup$ and $\cap$. In fuzzy logic, we have these three primitives:

  • $\neg a = 1 - a $
  • $a \land b = min(a, b)$
  • $a \lor b = max (a, b)$

Basing on these assumptions, the problem can be specified as the sequent $$P = (B \land H) \lor \neg R$$ $$ = max(min(B,H), \neg R)$$ $$ = max(min(0.6, 0.4), 0.2)$$ $$ = 0.4$$

Haven't found official answers yet btw.

0

Not an expert by any means, but the way I understand it is this (someone please correct me if I'm wrong):

In fuzzy logic, instead of saying something is either entirely true or entirely false, we say that it is entirely false, mostly false, equally true and false, mostly true, or entirely true. To do so, we represent these "degrees of truth" as numbers between $0$ and $1$. So, for example, if I were to say that my soup was cold with a degree of $0.7$, I'd be saying that it's fairly cold (certainly more cold than it is hot), but that it could have been colder. It's mostly cold.

Now, it is a beautiful day with a degree of $0.6$ (mostly beautiful, but we've seen better days), hot with a degree of $0.4$ (more cool than it is hot), and raining with a degree of $0.8$ (raining fairly hard, but we're not underwater yet). John will go to the park if it is beautiful, not hot, and not raining. Taking the complements of the negative conditions (hot, raining), we have the following degrees of truth: $0.6$, $0.6$, $0.2$.

So what is our degree of truth that John is going to the park? $0.2$ (John is going to the park, but probably not for very long). This is because the "not raining" condition is the condition that most limits John's trip to the park, as it is the least true. So the degree of truth that John is going to the park is $\min(0.6, 0.6, 0.2)$. Thinking about it more intuitively, if it were incredibly beautiful out and not at all hot, John would be no more eager to go to the park; it's still raining heavily, and that's really all that is necessary to deter John.