Różnice
Różnice między wybraną wersją a wersją aktualną.
|
|
pl:prolog:pllib:birds_recognition [2019/06/27 15:50] |
pl:prolog:pllib:birds_recognition [2019/06/27 15:50] (aktualna) |
| ====== Birds recognition ====== |
| {{tag>rules expert_systems}} |
| ===== Description ===== |
| Expert system which recognize birds |
| |
| **Source**: Building Expert Systems in PROLOG Publisher |
| ===== Download ===== |
| Program source code: {{birds_recognition.pl}} |
| ===== Listing ===== |
| <code prolog> |
| order(tubenose) :- |
| nostrils(external_tubular), |
| live(at_sea), |
| bill(hooked). |
| |
| order(waterfowl) :- |
| feet(webbed), |
| bill(flat). |
| |
| family(albatross) :- |
| order(tubenose), |
| size(large), |
| wings(long_narrow). |
| |
| family(swan) :- |
| order(waterfowl), |
| neck(long), |
| color(white), |
| flight(ponderous). |
| </code> |
| ===== Comments ===== |
| |