The Tour of Artificial Intelligence

xiaoxiao2021-03-06  40

Intruction to AI

Artificial Intelligence IS A Kind of Technology for Simplifying The Solving of Problem, Esspecially For Logic Problems.

You may have been heared Eight Qeens, The Tower of Hanoi puzzle, and Chinese chess etc. These problems can solved by AI technology easily. A programing language for logic programing is called Prolog, which means Program Logicly, You can Implement your idear by describing the rules of these problems should obey. you can download an IDE of prolog visual prolog on http://www.visual-prolog.com. you may ask me how to use prolog. For example, you want describe the relations between your family You can write declare: // Declare Predications Father (Father, Child); // Father, Child's Father Mother (Mother, Child); // Mother Is Child's Mother Sister (Girl1, Girl2); // Girl1 IS Girl2 'S Sister Son; // Boy Is Parent'son Daughter (Partnt, Girl); // Girl Is Parent's Daughter ISBOY (CHILD); // Child is a boy isgirl; // child is a girl parent (parent, child); // parent is the parent of the child clause: // define the Relations Between Predications Father (Father : - Isboy (child); SON (Father, Child). Father (Father, Child): - Isgirl (Child);

转载请注明原文地址:https://www.9cbs.com/read-67735.html

New Post(0)