专家系统实例.docVIP

  • 34
  • 0
  • 约5.88千字
  • 约 5页
  • 2016-12-14 发布于江苏
  • 举报
一个专家系统的例子 一、建立动物识别专家系统的规则库,并用与/或图来描述这个规则库。 规则库由15条规则组成,规则名分别是;rule1,rule2,┉,rule15,规则库的符号名为ruleS。编写一段程序,把15条规则组成一个表直接赋值给规则库ruleS。 ( rules ((rule1 (if (animal has hair)) 若动物有毛发(F1) (then (animal is mammal))) 则动物是哺乳动物(M1) ((rule2 (if (animal gives milk)) 若动物有奶(F2) (then (animal is mammal))) 则动物是哺乳动物(M1) ((rule3 (if (animal has feathers)) 若动物有羽毛(F9) (then (animal is bird))) 则动物是鸟(M4) ((rule4 (if (animal flies)) 若动物会飞(F10) (animal lays eggs)) 且生蛋(F11) (then (animal is

文档评论(0)

1亿VIP精品文档

相关文档