摘要
从人工智能 (AI)的角度首先提出设计模式实质上是软件工程中知识表示的雏形 ,并与专家系统的推理骨架进行对比 ,论证了在设计模式中引入知识表示的必要性。设计模式的语义描述目前主要面向人 ,还不能很好地面向计算机进而有效集成到 CASE环境。为此 ,提出了基于 AI知识表示的新方法 ,给出了基于知识建模的设计模式语义联系模型 。
Design pattern is a hot topic in current software engineering research, it describes the recurring problem and its successful solution in software engineering. From the view of AI, we proposed for the first time that design pattern is essentially an embryonic form of knowledge representation in software engineering. To explain the necessity of introducing knowledge representation into design pattern description, we made a comparison between design pattern and similar ideas in AI(such as inference skeleton in expert systems and logic programming) in section 2. After a survey of the limitations of the existing specifications (formal or informal) of patterns, we point out that both of them are either too informal to be effectively processed by computers, or too rigid. To solve this problem, we tried to use AI methods to specify design patterns and proposed an AI knowledge representation model based on semantic networks (figure 1) for describing design patterns. Some further research directions are pointed out in section 4.
出处
《西北工业大学学报》
EI
CAS
CSCD
北大核心
2000年第2期281-284,共4页
Journal of Northwestern Polytechnical University
基金
航空科学基金资助! ( 96F530 63 )
关键词
设计模式
知识表示
语义网络
design pattern, knowledge representation, semantic network