题名 面向业务的Drools规则引擎改进
被引量:12
1
作者
李春芳
谭庆平
机构
长沙理工大学计算机与通信工程学院
国防科技大学计算机学院
出处
《计算机应用与软件》
CSCD
2015年第5期20-23,29,共5页
基金
湖南省科技计划项目(2010GK3068)
文摘
针对Drools只能解析与执行由专业人员定义的业务逻辑问题,提出基于语言解析程序ANTLR(Another Tool for Language Recognition)的解决办法,并给出相应改进后的开发框架ADF(ANTLR-Drools developing framework)及其关键实施方法。业务人员可以利用ADF提供的领域规则元模板直接定义业务逻辑,由基于ANTLR的元模板解析程序完成相应业务逻辑到Drools逻辑的转换。事实证明该框架的可行性和有效性。
关键词
DROOLS
ANTLR
ADF
领域规则元模板
元模板解析程序
Keywords
Drools ANTLR ANTLR- Drools developing framework (ADF) Domain rule meta - template meta - template parsing program
分类号
TP315.6
[自动化与计算机技术—计算机软件与理论]
题名 函数式程序模板元编程的元建模实现方法
被引量:1
2
作者
祝义
黄志球
周航
刘林源
机构
南京航空航天大学计算机科学与技术学院
江苏师范大学计算机科学与技术学院
南京审计大学经济与贸易学院
出处
《计算机工程与应用》
CSCD
北大核心
2018年第7期1-10,共10页
基金
国家自然科学基金(No.61502212)
江苏省博士后基金(No.1501055B)
+1 种基金
江苏省自然科学基金(No.BK20130735)
江苏省高校自然科学研究项目(No.13KJB520011)
文摘
针对函数式程序模板元编程的通用性问题,以应用类型系统ATS(Applied Type System)为例,提出了一种基于元建模的模板元编程实现方法。基于ATS模板元编程给出从枚举类型Datatype到Function的生成实例;通过元建模构造了包含Datatype与Function定义的ATS元模型;详细描述了Datatype模型到Function模型的转换;最后以一个基于元建模的ATS模板元编程为例,讨论了该方法的使用效果。实验结果表明该方法可以提高ATS模板元编程的通用性。
关键词
函数式程序
应用类型系统
模板
元编程
模型转换
Keywords
functional programming
Applied Type System(ATS)
template
meta - programming
model transformation
分类号
TP31
[自动化与计算机技术—计算机软件与理论]
题名 一种基于模板元编程的量纲检测方法
被引量:1
3
作者
罗京丽
杜建革
机构
江西省轻工高级技校
南京理工大学
出处
《现代电子技术》
2009年第4期80-85,共6页
基金
国家自然科学基金资助项目(60703072)
文摘
量纲误用是科学计算应用程序中一种常见的错误,对计算结果的正确性影响很大。在此提出一种基于模板元编程的量纲检测方法TADA,能够有效完成C和C++程序代码的量纲检测工作。该方法利用程序设计语言自身的模板元编程功能,通过定义相关的量纲模板及其计算和标注方法,依靠编译器在编译期间完成量纲分析和检测,无需任何运行开销,有效解决了传统量纲检测系统中解方程组的计算量瓶颈等问题。
关键词
模板元编程
TADA
量纲
计算量瓶颈
Keywords
template meta - programming
TADA
measurement unit
computational bottleneck
分类号
TP393
[自动化与计算机技术—计算机应用技术]
题名 一种自适应的引用计数智能指针的实现
被引量:2
4
作者
张彤
何源
机构
成都信息工程学院
成都大学网络管理中心
出处
《成都大学学报(自然科学版)》
2007年第1期55-57,共3页
文摘
讨论智能指针的一般功能,同时使用模板偏特化和模板元编程计数给出一种自适应包含类型的实现.
关键词
C++
智能指针
引用计数
模板偏特化
模板元编程
Keywords
C + +
smart pointer
reference count
partial template specialization
template meta - programming
分类号
TP311.5
[自动化与计算机技术—计算机软件与理论]
题名 多巴胺系统基因对注意网络的调控作用
5
作者
陈晨
张英
刘嘉
胡思源
机构
北京师范大学心理学部应用实验心理北京市重点实验室心理学国家级实验教学示范中心(北京师范大学)
出处
《心理科学》
CSSCI
CSCD
北大核心
2018年第1期24-30,共7页
基金
国家自然科学基金青年科学基金项目(31000507)的资助
文摘
多巴胺是脑内重要的神经递质之一,与注意活动紧密相关。本文选取作用于突触前膜、间隙和后膜的多巴胺系统基因——多巴胺转运蛋白基因、儿茶酚氧化甲基转移酶基因和多巴胺受体基因,整合影像遗传学研究,探讨多巴胺基因对注意网络的调控。元分析发现背侧和腹侧注意网络的主要脑区均有较大的基因调控效应,且腹侧网络的效应值显著大于背侧网络,表明多巴胺系统基因在全脑范围内调控注意网络,且对腹侧网络的调控作用强于背侧网络。
关键词
注意网络
功能磁共振成像
影像遗传学
多巴胺系统
元分析
Keywords
included but not limited to functional magnetic resonance imaging (tMRI), and candidate doparninergic system genes targeting at the presynaptic, the postsynaptie neurons, or the synaptic cleft, such as the dopamine transporter gene (DAT), the catechol- O- methyltransferase gene (COMT) or the dopamine receptor gene (DRD). Reference lists were checked by hand and a total of forty- four papers were gathered and applied to our meta - analysis. We extracted the coordinates of peak voxels where the genetic modulatory effect on attention was reported in the papers and then projected them onto a brain template in Caret to visualize the distribution of the modulatory effects of genes. The effect sizes were calculated using Cohen's d to quantify the magnitude of activation differences between the subjects with separate ganotypes in each att
ntion task. The random- effects model was chosen for the meta - analysis and the effect sizes of effective modulation of dopaminergie system genes in different brain regions were calculated with Comprehensive meta - Analysis program (CMA). To compare the differences across attention networks and dopaminergic genes, the Q- test of homogeneity was used to test for variations in effect sizes. Our results showed that the integrated effect sizes of effective modulation of dopaminergic system genes were all above .8 (Cohen's d) in the ventral attention network (VAN), including the ventral prefrontal cortex (VLPFC), the orbitofrontal gyms (OFG), and the superior temporal gyms (STG), and also in the dorsal attention network (DAN), consisting of the dorsolateral prefrontal cortex (DLPFC), the superior parietal lobule (SPL) and the frontal eye field (FEF). The VAN presented a significantly higher effect size in comparison to the DAN (Qb = 4.94,p 〈 .05). In addition, the variation test of effect sizes for dopaminergic system genes showed that the COMT gene exhibited a significantly higher effect size than that of DAT gene (Qb = 77.04,p 〈 .001) and DRD gene (Qb = 186.35,p 〈 .001). Our study suggests the important role of the dopaminergic system genes in regulating attention networks in the whole brain. As DAN enables the selection of sensory stimuli based on internal goals and VAN detects salient and relevant stimuli in the environment. The observed stronger modulatory effect of dopaminergic system genes in VAN than in DAN suggests that bottom- up attention, compared with top- down attention, receives more modulation from genes than from the environment. Our study invites broader and deeper studies on the relationship between the genes, the brain, and the attentional behaviors at the network level in the future. Key words attention networks, MRI, imaging genetics, doparninergic system, meta - anaiysis
分类号
R338
[医药卫生—人体生理学]