论文部分内容阅读
Prolog语言由于其表达专家知识的便利性和强大的推理能力,成为专家系统设计用得较多的语言.但是用Prolog实现一个大程序,特别是具有大量知识的专家系统中,其运行效率是很低的.因此,为了将一个系统投入实时运行,在软件设计时就应考虑效率优化.本文从知识库的组织、匹配方法的选取,以及运用启发式控制回溯等三方面探讨效率优化的方法.1 知识库的组织
Prolog language because of its expert knowledge of the convenience and strong reasoning ability to become expert system design more language.But with Prolog to achieve a large program, especially with a lot of knowledge of expert systems, the operating efficiency is very Therefore, in order to put a system into real-time operation, efficiency optimization should be considered in software design.This paper discusses efficiency optimization from three aspects: knowledge base organization, matching method selection and heuristic control backtracking. 1 knowledge base organization