检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机应用与软件》2009年第12期132-134,共3页Computer Applications and Software
摘 要:声明式编程与传统的命令式编程相比是一种更简单、更快速的软件开发方式,但是支持声明式编程方式的引擎和工具很少。主要研究如何利用开源规则引擎Drools来实现JAVA的声明式编程的方法,着重分析声明式编程的特点以及规则引擎的结构、流程,核心的RETE算法和规则的匹配效率,并通过一个示例来分析如何高效率高性能的进行规则匹配和声明式编码。Declarative programming is a simpler and faster way of software development compared with traditional imperative programming, but the engines and tools supporting the declarative programming are not much. In this paper,the authors study the way of using open source rule engine Drools to realise JAVA declarative programming,the emphasis is put in analyzing the features of declarative programming as well as the structure and flow of rule engine, the core algorithm--RETE and the matching efficiency of rules, an example is utilised by the authors too to analyze how to perform high-efficiency rule-matching and declarative coding.
关 键 词:声明式编程 规则引擎 DROOLS RETE算法
分 类 号:TP242.6[自动化与计算机技术—检测技术与自动化装置] TM571.61[自动化与计算机技术—控制科学与工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.72