Your SlideShare is downloading. ×
0
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Fuzzy logic
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Fuzzy logic

1,390

Published on

Published in: Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,390
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
160
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Fuzzy logic in short term strategy games
  • 2. Introduction <ul><li>Binary Logic- It’s either true or false, On or Off. </li></ul><ul><li>Fuzzy Logic- </li></ul><ul><li>1. A person is having his 26th birthday. A comment from someone is &amp;quot;you&apos;re not young anymore”. </li></ul><ul><li>2. Whether to guard a basketball player in basketball game or not. </li></ul>Company Logo
  • 3. Problem <ul><li>During the game how to decide whether the monster should attack or flee. </li></ul>Company Logo
  • 4. Problem…. <ul><li>If we have 5 states and 2 in put variables then we will have to handle 5^2 states(as states grow exponentially) </li></ul><ul><li>How you tackle 5 states and 6 inputs as states will grow to </li></ul><ul><li>5^6=625 ???? </li></ul>Company Logo
  • 5. Terms &amp; their definitions <ul><li>Fuzzy Set- A fuzzy set is a pair (A,m) where A is a set </li></ul><ul><li>and m:A-&gt;[0,1] </li></ul><ul><li>X is called fuzzy member if 0&lt;m(x)&lt;1 </li></ul><ul><li>Fuzzy Logic- Fuzzy logic is a form of multi-valued logic derived from fuzzy set theory to deal with reasoning that is approximate rather than accurate. </li></ul><ul><li>Fuzzy logic means of representing problems to computers in way like the way human solve them and the essence of fuzzy logic is that everything is a matter of degree.”-Lofty </li></ul><ul><li>Zadeh </li></ul>Company Logo
  • 6. Strategy to solve Company Logo
  • 7. Solutions.. <ul><li>Let’s try to solve man’s age problem keeping other parameters same … </li></ul>Company Logo
  • 8. Fuzzy logic in a real game <ul><li>Making a fuzzy system- </li></ul>Company Logo
  • 9. Fuzzy logic in a real game.. <ul><li>Weighing rules- </li></ul>Company Logo
  • 10. Fuzzy logic in a real game.. <ul><li>Weighing rules in overlapping area- </li></ul><ul><li>……… </li></ul>Company Logo
  • 11. Fuzzy logic in a real game.. <ul><li>Weighing rules- </li></ul><ul><li>……… </li></ul>Company Logo
  • 12. Fuzzy logic in a real game.. <ul><li>Making the output- </li></ul>Company Logo
  • 13. Fuzzy logic in a real game.. <ul><li>Reaction- </li></ul>Company Logo
  • 14. Fuzzy logic in a real game.. <ul><li>Extra weights- </li></ul>Company Logo
  • 15. Short term decisions elaborated Company Logo
  • 16. Short term decisions elaborated Company Logo
  • 17. Short term decisions elaborated Company Logo
  • 18. Short term decisions elaborated Company Logo
  • 19. Short term decisions elaborated Company Logo
  • 20. Short term decisions elaborated Company Logo
  • 21. Short term calculations elaborated Company Logo
  • 22. Short term calculations elaborated Company Logo
  • 23. Short term calculations elaborated Company Logo
  • 24. Short term calculations elaborated Company Logo
  • 25. Short term calculations elaborated <ul><li>Defuzzification- Rules to manipulate fuzzy input to generate </li></ul><ul><li>crisp output. </li></ul><ul><li>1.Combs Method: This method uses logical equality </li></ul><ul><li>[( p and q ) then r ] = [( p then r ) or ( q then r )] </li></ul><ul><li>this method reduces states from s^n to s*n. </li></ul><ul><li>2.Center of mass Method: This method crops the extra upper </li></ul><ul><li>part of triangle, makes it trapezoid </li></ul><ul><li>and finds the center of mass of </li></ul><ul><li>figure…… </li></ul>Company Logo
  • 26. Short term calculations elaborated <ul><li>Degree of guard is 0.7,degree of sometimes guard is 0.4, and never guard is 0.4 </li></ul>Company Logo
  • 27. Conclusion <ul><li>Fuzzy logic emerged as a consequence of the 1965 proposal of fuzzy set theory by Lotfi Zadeh. </li></ul><ul><li>Though fuzzy logic has been applied to many fields, from control theory to artificial intelligence. </li></ul><ul><li>It still remains controversial among most statisticians, who prefer Bayesian logic, and some control engineers, who prefer traditional two-valued logic. </li></ul>Company Logo
  • 28. Thank you !

×