Fuzzy logic
From Simple English Wikipedia, the free encyclopedia
Fuzzy logic is a sort of computer logic that is different from boolean algebra. It is different in the way that it allows values to be more accurate than on or off. While boolean logic only allows true or false, fuzzy logic allows all things in between. An example of this could be a computer game: A person is standing in a doorway while a thing explodes. The character is hit or not hit if boolean logic is used, but the doorway protects him from the explosion. Therefore, he might only be hit 20%, and takes less damage.
To put it in more precise mathematical terms, classical logic has two values. These values are usually called false (0) or true (1). With fuzzy logic, a (calculated) value of 0.8 or 0.971 is possible. It is important to know the difference between fuzzy logic and chance. A coin that is thrown has a chance of 0.5 for landing heads up. If it is thrown 1000 times, it will land with this side up 500 times. With fuzzy logic, a thing with a "truth value" of 0.5 will have a value of 0.5 no matter how many times it is done. It is not a 50% chance of true or untrue, it is 50% true and 50% untrue at the same time. Fuzzy logic is used a lot in expert systems and neuronal networks.