In order to deal with the complex association relationships between classes in an object-oriented software system,a novel approach for identifying refactoring opportunities is proposed.The approach can be used to dete...In order to deal with the complex association relationships between classes in an object-oriented software system,a novel approach for identifying refactoring opportunities is proposed.The approach can be used to detect complex and duplicated many-to-many association relationships in source code,and to provide guidance for further refactoring.In the approach,source code is first transformed to an abstract syntax tree from which all data members of each class are extracted,then each class is characterized in connection with a set of association classes saving its data members.Next,classes in common associations are obtained by comparing different association classes sets in integrated analysis.Finally,on condition of pre-defined thresholds,all class sets in candidate for refactoring and their common association classes are saved and exported.This approach is tested on 4 projects.The results show that the precision is over 96%when the threshold is 3,and 100%when the threshold is 4.Meanwhile,this approach has good execution efficiency as the execution time taken for a project with more than 500 classes is less than 4 s,which also indicates that it can be applied to projects of different scales to identify their refactoring opportunities effectively.展开更多
Turbo码是一种常用的信道编码方式,正确识别Turbo码首先要正确识别其子递归系统卷积(recursive system convolutional,RSC)码,由于信道噪声与干扰引发误码,这就要求识别算法具有良好的抗误码性能以及识别能力。利用解调软判决序列,通过...Turbo码是一种常用的信道编码方式,正确识别Turbo码首先要正确识别其子递归系统卷积(recursive system convolutional,RSC)码,由于信道噪声与干扰引发误码,这就要求识别算法具有良好的抗误码性能以及识别能力。利用解调软判决序列,通过编码码元约束方程,构建指数形式的代价函数模型,将识别RSC码的生成矩阵问题转化为求解代价函数全域极值的最优化问题,最后在共轭梯度法的基础上,采用新的PRP步长因子来寻找全域极值点。仿真结果表明,所提算法与现有算法相比,收敛速度更快,在低信噪比下也有良好的识别能力。展开更多
为探索GS1 Digital Link技术在产品物流中的应用潜力,分析研究了GS1系统和GS1 Digital Link的基本结构、编码特点以及技术优势,充分利用GS1 Digital Link技术可以为产品从源头到零售整个物流过程提供相关对象的Web地址编码的特点,以鲜...为探索GS1 Digital Link技术在产品物流中的应用潜力,分析研究了GS1系统和GS1 Digital Link的基本结构、编码特点以及技术优势,充分利用GS1 Digital Link技术可以为产品从源头到零售整个物流过程提供相关对象的Web地址编码的特点,以鲜活大闸蟹物流过程为例,构建了基于GS1 Digital Link的鲜活大闸蟹Web编码,为实现产品营销与追溯提供了标准化、动态化、多样化的编码数据支撑。展开更多
为了指导中国自主开发的严重事故一体化分析程序的验证工作,开展了压水堆严重事故现象识别与排序表(phenomenon identification and ranking tables,PIRT)方法研究及实践。基于对严重事故现象学研究和PIRT开发流程梳理,参考国际现有研...为了指导中国自主开发的严重事故一体化分析程序的验证工作,开展了压水堆严重事故现象识别与排序表(phenomenon identification and ranking tables,PIRT)方法研究及实践。基于对严重事故现象学研究和PIRT开发流程梳理,参考国际现有研究基础,确定了压水堆严重事故PIRT开发流程,及其实施过程所需要的具体筛选原则、评价准则和评级方法等操作依据;并据此建立了压水堆严重事故PIRT表。研究成果可为压水堆严重事故分析程序的验证以及相关实验研究工作提供指导。展开更多
文摘In order to deal with the complex association relationships between classes in an object-oriented software system,a novel approach for identifying refactoring opportunities is proposed.The approach can be used to detect complex and duplicated many-to-many association relationships in source code,and to provide guidance for further refactoring.In the approach,source code is first transformed to an abstract syntax tree from which all data members of each class are extracted,then each class is characterized in connection with a set of association classes saving its data members.Next,classes in common associations are obtained by comparing different association classes sets in integrated analysis.Finally,on condition of pre-defined thresholds,all class sets in candidate for refactoring and their common association classes are saved and exported.This approach is tested on 4 projects.The results show that the precision is over 96%when the threshold is 3,and 100%when the threshold is 4.Meanwhile,this approach has good execution efficiency as the execution time taken for a project with more than 500 classes is less than 4 s,which also indicates that it can be applied to projects of different scales to identify their refactoring opportunities effectively.
文摘Turbo码是一种常用的信道编码方式,正确识别Turbo码首先要正确识别其子递归系统卷积(recursive system convolutional,RSC)码,由于信道噪声与干扰引发误码,这就要求识别算法具有良好的抗误码性能以及识别能力。利用解调软判决序列,通过编码码元约束方程,构建指数形式的代价函数模型,将识别RSC码的生成矩阵问题转化为求解代价函数全域极值的最优化问题,最后在共轭梯度法的基础上,采用新的PRP步长因子来寻找全域极值点。仿真结果表明,所提算法与现有算法相比,收敛速度更快,在低信噪比下也有良好的识别能力。
文摘为探索GS1 Digital Link技术在产品物流中的应用潜力,分析研究了GS1系统和GS1 Digital Link的基本结构、编码特点以及技术优势,充分利用GS1 Digital Link技术可以为产品从源头到零售整个物流过程提供相关对象的Web地址编码的特点,以鲜活大闸蟹物流过程为例,构建了基于GS1 Digital Link的鲜活大闸蟹Web编码,为实现产品营销与追溯提供了标准化、动态化、多样化的编码数据支撑。
文摘为了指导中国自主开发的严重事故一体化分析程序的验证工作,开展了压水堆严重事故现象识别与排序表(phenomenon identification and ranking tables,PIRT)方法研究及实践。基于对严重事故现象学研究和PIRT开发流程梳理,参考国际现有研究基础,确定了压水堆严重事故PIRT开发流程,及其实施过程所需要的具体筛选原则、评价准则和评级方法等操作依据;并据此建立了压水堆严重事故PIRT表。研究成果可为压水堆严重事故分析程序的验证以及相关实验研究工作提供指导。