PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity ...PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an interface between SQL database and DEVELOPER. Therefore, it is important to test these modules that consist of procedures and functions. In this paper, a new genetic algorithm (GA), as search technique, is used in order to find the required test data according to branch criteria to test stored PL/SQL program units. The experimental results show that this was not fully achieved, such that the test target in some branches is not reached and the coverage percentage is 98%. A problem rises when target branch is depending on data retrieved from tables;in this case, GA is not able to generate test cases for this branch.展开更多
This work introduces a scalable and efficient topological structure for tetrahedral and hexahedral meshes. The design of the data structure aims at maximal flexibility and high performance. It provides a high scalabil...This work introduces a scalable and efficient topological structure for tetrahedral and hexahedral meshes. The design of the data structure aims at maximal flexibility and high performance. It provides a high scalability by using hierarchical representa-tions of topological elements. The proposed data structure is array-based, and it is a compact representation of the half-edge data structure for volume elements and half-face data structure for volumetric meshes. This guarantees constant access time to the neighbors of the topological elements. In addition, an open-source implementation named Open Volumetric Mesh (OVM) of the pro-posed data structure is written in C++ using generic programming concepts.展开更多
经天路图是基于三维GIS系统的公路综合设计平台,为了使用户在该软件的使用过程中,准确表达设计理念和思想,需要开发在三维地球场景下的精确绘制图形功能。本文基于中科图新LocaSpaceSDK开发工具包,,使用C#语言在Visual Studio 2019平台...经天路图是基于三维GIS系统的公路综合设计平台,为了使用户在该软件的使用过程中,准确表达设计理念和思想,需要开发在三维地球场景下的精确绘制图形功能。本文基于中科图新LocaSpaceSDK开发工具包,,使用C#语言在Visual Studio 2019平台上开发了基础图元(点、线、多段线、圆、圆弧)绘制功能、特殊点(端点、图元之间的交点、垂足等)捕捉以及正交绘图、延长线追踪等辅助绘图功能。本文介绍了基础绘图功能的研发思路、工具、流程及关键算法,并展示了绘图功能的工程应用。结果表明,本文开发的基础绘图功能可以便捷、快速、准确地帮助用户表达设计理念和思路,提升设计效率。展开更多
首先介绍了OPC(OLE for processcontrol)及其相关技术,提出了OPC数据访问服务器的组成模型。在分析OPC数据访问服务器两种开发模式的基础上,给出了以WTOPCSvr.DLL工具包为平台,使用工具开发模式实现其开发的主要步骤。重点阐述了基于PA...首先介绍了OPC(OLE for processcontrol)及其相关技术,提出了OPC数据访问服务器的组成模型。在分析OPC数据访问服务器两种开发模式的基础上,给出了以WTOPCSvr.DLL工具包为平台,使用工具开发模式实现其开发的主要步骤。重点阐述了基于PA150通信协议,OPC数据访问服务器中硬件驱动通信模块采用串口编程方式实现的方法,并给出了通信两端的主要配置过程,基于该方法和过程的OPC数据访问服务器已成功应用在某煤矿的计算机监控系统中,取得了良好的效果。展开更多
给出了一个石油管理领域应用的面向对象公共数据模型 PDMM(petroleum data model for management) ,论述了元模型的建立与表达、类结构组织和实体定义、属性及约束规则等模型构筑技术 .强调了通过引入“活动”、“特性”等超类使模型具...给出了一个石油管理领域应用的面向对象公共数据模型 PDMM(petroleum data model for management) ,论述了元模型的建立与表达、类结构组织和实体定义、属性及约束规则等模型构筑技术 .强调了通过引入“活动”、“特性”等超类使模型具有强大描述能力的特色 ,给出了模型的 EXPRESS语言描述方法 .展开更多
文摘PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an interface between SQL database and DEVELOPER. Therefore, it is important to test these modules that consist of procedures and functions. In this paper, a new genetic algorithm (GA), as search technique, is used in order to find the required test data according to branch criteria to test stored PL/SQL program units. The experimental results show that this was not fully achieved, such that the test target in some branches is not reached and the coverage percentage is 98%. A problem rises when target branch is depending on data retrieved from tables;in this case, GA is not able to generate test cases for this branch.
基金Supported by Fundamental Research Funds for the Central Universities(Nos.2013ZM087,2012zz0062,2012zz0063)Doctoral Fund of Ministry of Education of China(No.20130172120010)
文摘This work introduces a scalable and efficient topological structure for tetrahedral and hexahedral meshes. The design of the data structure aims at maximal flexibility and high performance. It provides a high scalability by using hierarchical representa-tions of topological elements. The proposed data structure is array-based, and it is a compact representation of the half-edge data structure for volume elements and half-face data structure for volumetric meshes. This guarantees constant access time to the neighbors of the topological elements. In addition, an open-source implementation named Open Volumetric Mesh (OVM) of the pro-posed data structure is written in C++ using generic programming concepts.
文摘经天路图是基于三维GIS系统的公路综合设计平台,为了使用户在该软件的使用过程中,准确表达设计理念和思想,需要开发在三维地球场景下的精确绘制图形功能。本文基于中科图新LocaSpaceSDK开发工具包,,使用C#语言在Visual Studio 2019平台上开发了基础图元(点、线、多段线、圆、圆弧)绘制功能、特殊点(端点、图元之间的交点、垂足等)捕捉以及正交绘图、延长线追踪等辅助绘图功能。本文介绍了基础绘图功能的研发思路、工具、流程及关键算法,并展示了绘图功能的工程应用。结果表明,本文开发的基础绘图功能可以便捷、快速、准确地帮助用户表达设计理念和思路,提升设计效率。
文摘首先介绍了OPC(OLE for processcontrol)及其相关技术,提出了OPC数据访问服务器的组成模型。在分析OPC数据访问服务器两种开发模式的基础上,给出了以WTOPCSvr.DLL工具包为平台,使用工具开发模式实现其开发的主要步骤。重点阐述了基于PA150通信协议,OPC数据访问服务器中硬件驱动通信模块采用串口编程方式实现的方法,并给出了通信两端的主要配置过程,基于该方法和过程的OPC数据访问服务器已成功应用在某煤矿的计算机监控系统中,取得了良好的效果。
文摘给出了一个石油管理领域应用的面向对象公共数据模型 PDMM(petroleum data model for management) ,论述了元模型的建立与表达、类结构组织和实体定义、属性及约束规则等模型构筑技术 .强调了通过引入“活动”、“特性”等超类使模型具有强大描述能力的特色 ,给出了模型的 EXPRESS语言描述方法 .