What is the difference between fuzzy logic and Boolean logic?

I was Reading about fuzzy logic and I realized that it has relations with Boolean logic. However, I was very confused at the point that defines the relationship of fuzzy Logic with the boolean, in addition, other doubts also arose.

Doubts

  1. What is the difference between fuzzy logic and Boolean logic and what defines the relationship between them?
  2. we can use fuzzy logic in programming or it is restricted only for other fields of mathematics?
Author: Jefferson Quesado, 2019-02-24

2 answers

A fuzzy Logic it is the form of multivalued logic, in which the true values of variables can be any real number between 0 (false) and 1 (true). Already a Boolean logic variables and functions can only have values 0 and 1, in this logic we also have the logical ports: and: you have to have all the values for the sentence to be true. or : only one of the values is required for the statement to be true. xor : returns true only when the input values are different, otherwise false.

 1
Author: maria gabi, 2019-09-25 13:00:34

Just to complement @ maria-gabi's answer, the fuzzy logic can support values that are not necessarily true or false.

For example for some condition or method.

  • true = 1
  • Partially True = 0.75
  • indifferent = 0.50
  • Partially False = 0.25
  • false = 0

You can determine how many values you want for each alternative as long as it is a value within the range of 0 to 1;


Already in Boolean logic the values must be explicitly true or false for some condition.

I go to the cinema if I have money and ( and) if the cinema is Open. that is, if the two variables are true, the go to the cinema condition will be executed.

You can change the logical operators as for example in place of and (and) put a or (or);

 0
Author: Lucas Palomo, 2019-11-05 17:55:04