动物识别专家系统(源码+简单界面+实验报告)
(1)题目事实(概念)
char *feature[]={"有毛","产奶","有羽毛","会飞","会下蛋","吃肉","有犬齿","有爪","眼睛盯前方","有蹄","反刍","黄褐色","有斑点","有黑色条纹","长脖","长腿","不会飞","会游泳","黑白两色","善飞","哺乳类","鸟类","肉食类","蹄类","企鹅","海燕","鸵鸟","斑马","长颈鹿","虎","金钱豹"};
(2)题目产生式规则
Rule rule[15]={
{{0,-1},20},
{{1,-1},20},
{{2,-1},21},
.........
(3)根据产生式规则构造规则库,以文本的形式展现,命名为rules.txt。
1