首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 156 毫秒
1.
郝宁  吴庆麟 《计算机时代》2004,(10):24-25,28
心理学领域对计算机编程行为进行过许多研究。本文介绍编程专家的编程过程认知模型,它描绘了专家编程行为的内在认知机制,具有很强的实用性,并为提高编程效率提供了心理学上的支持。  相似文献   

2.
面向Aspect编程的应用研究   总被引:4,自引:2,他引:4  
介绍了面向方面编程(AOP)的应用背景和核心概念,从面向对象编程的不足谈起,引出“横切关注“行为,面向方面编程就是在此基础上应运而生。接着简述了面向方面编程的一些基本概念,然后针对一个简单案例,通过分别用传统编程方式和AOP方式实现,从中体现AOP编程的优势。  相似文献   

3.
随着算力需求的增长,各种国产异构计算设备不断出现,这些设备都有其专用的编程模型,开发者需要根据不同设备的架构特点在专用的编程模型上进行开发,导致开发出的代码在设备间不具有可移植性。近年来国外已经出现了支持多种计算设备的统一异构并行编程模型,但针对国产设备的异构编程模型的研究和实现还比较少。针对该问题,开发了一套性能可移植的异构编程模型ParM。该编程模型以C++库的形式提供,屏蔽了大量的底层实现细节,降低了并行编程难度。该编程框架目前支持的后端设备有x86 CPU、NVIDIA GPU、华为鲲鹏处理器和华为昇腾AI处理器,并且对各种后端设备进行了性能优化。在各种设备上的性能测试表明,ParM编程模型的性能可以达到原始代码的90%以上。  相似文献   

4.
遗传编程实现的研究   总被引:2,自引:0,他引:2  
本文指出了遗传编程中的几个关键步骤,针对遗传编程的特点,提出实现的不同方法。并提出了一个通用的模型,以虚拟机来提高遗传编程的效率。  相似文献   

5.
介绍了PASCAL语言中对鼠标器调用的编程原理和方法,以及有关鼠标器的机械原理和编程原理,并给出了图形模式下的作图编程的基本过程和直线、直方图等作图编程的具体源程序。  相似文献   

6.
适合机群OpenMP系统的制导扩展   总被引:1,自引:0,他引:1  
OpenMP以其易用性和支持增量并行的特点成为共享存储体系结构的编程标准.机群OpenMP系统在机群上实现了OpenMP计算环境,它将OpenMP的易编程性和机群的可扩展性结合起来,是很有意义的.OpenMP的编程方式主要有循环级和SPMD两种,其中循环级方式易于编程而SPMD方式难于编程.然而在机群OpenMP系统中获得高性能OpenMP程序,必需采用SPMD方式.该文描述了适合机群OpenMP系统的一个简单的OpenMP制导扩展子集(包括数据分布制导、循环调度模式),并在机群OpenMP系统OpenMP/JIAJIA上进行了实现.应用测试表明,利用这些制导扩展进行编程,既保持循环级方式的易编程性又获得与SPMD方式相当的性能,是有效的编程方式.  相似文献   

7.
混合编程的实现将大大有利于软件的开发工作,本文分析了实现混合编程的技术关键,并给出了实际混合编程的一般方法和例示程序。  相似文献   

8.
C语言教学中学生编程风格的培养   总被引:6,自引:0,他引:6  
国内绝大多数高校的计算机专业都开设C语言程序设计课,然而在教学中,无论是教师还是学生都很少关注编程的风格。针对这一问题,文章论述了编程风格的概念、重要性、内容等,提出了采用互助修改程序和加入编程风格的考核方法来培养初学者形成良好的编程风格。  相似文献   

9.
因VC++的灵活与庞大,使很多初学VC++编程的人都感到无从下手,作者以自己编写VC++程序的过程来探讨了VC++中滚动条编程的问题,包括自定义滚动条编程方法和系统滚动条编程方法以及各自的优缺点,并给出了实际代码。  相似文献   

10.
数控线切割机床是通过编制数控加程序,输入机床控制装置控制机床加工的,其中加工指令的编程是控制过程的一个重要环节。编程可由手工进行,也可由自动编程机进行自动编程,由于自动编程机价格较高,通用性差,许多厂家仍采用手工编程,对于一些较复杂的图形,手工编程费时费力,容易出错。笔者编制了一个小程序,在微机上用AntoCAD绘图软件进行数控线切割的自动编程,效果较好。现奉献给大家,请不吝指正。一、原理数控线切割的“3B”格式指令主要是求出X、Y的值,计数长度J,判断计算方向G和加工指令Z;假如我们知道每个加工曲线的起…  相似文献   

11.
作为目标规划算法平台的一个重要组成部分,研究了多目标线性规划中的目标规划图解法算法程序的开发,以方便该方法在各领域的应用。首先,介绍了目标规划的原理、建立目标规划模型的步骤。然后,介绍目标规划图解法的计算步骤以及在Del-phi环境下开发目标规划图解法的流程和具体方法。最后,通过实例对目标规划图解法算法程序的正确性进行了验证。所开发的算法程序直观简捷,方便工程人员的使用。  相似文献   

12.
Analogical representations based on pictures of domain objects can be used in visual programming to provide a close mapping between the program and the resulting runtime display, which can make programming easier for children and other users. The use of graphical rewrite rules with before and after pictures is an example of this approach. Graphical rewrite rules have some similarities with comics strips, which also use picture sequences of graphical objects to describe dynamics in a static form. However, the visual language of comics is not used to its full potential in visual programming. We discuss how a semiotic analysis of comics can be used to address some of the limitations of graphical rewrite rules. We use a visual programming system we have designed to illustrate that comic strips can express more general computations and be more intuitive and flexible than traditional graphical rewrites. Our conclusion is that the visual language of comics has a strong potential for increasing the expressiveness and flexibility of visual programming with analogical representations of domain objects, while maintaining a direct mapping between the program representation and the runtime representation.  相似文献   

13.
基于PCI总线的多路定标器   总被引:2,自引:0,他引:2  
针对核辐射测量实验的需求,开发了基于PCI总线的多路定标器系统。硬件上重点讨论了多路定标器的大规模逻辑电路(PLD)设计方法,以及核仪器系统中的PCI接口设计。软件上介绍了采用图形化编程平台LabVIEW,实现多路定标器的图形化软面板,使仪器实现自动化、智能化。实验结果表明,该系统稳定可靠,性能上有很大提高,操作简单、直观。  相似文献   

14.
This paper explores the possibilities of programming with graphical representations of logic programs. Two example programs are given in the concurrent logic language FGDC but many languages based on rewrite rules would be suitable for the same treatment. A graphical syntax promises to make programming in suitable ultra high level languages easier and more intuitive.  相似文献   

15.
This paper describes and illustrates a structured programming metalanguage (DPOS) and graphical programming environment for generating and debugging high-level distributed MIMD parallel programs. DPOS introduces an innovative message-passing model and also recursive graphical definition of parallel process networks. It also provides programming and debugging at the meta language level that is portable across implementation languages. The initial development focus of DPOS is to provide a parallel development system for Lisp-based, symbolic and artificial intelligence programs as part of the MAYFLY parallel processing project. The DPOS environment also generates source code and provides a simulation system for graphical debugging and animation of the programs in graph form.  相似文献   

16.
一种通用的机器人三维图形仿真的实现   总被引:8,自引:0,他引:8  
刘振宇  徐方  陈英林 《机器人》2001,23(5):404-406
机器人三维图形仿真是离线编程的一个重要内容,本文介绍了一种应用ActiveX编 制的机器人三维图形仿真控件,包括机器人运动学模型的建立方法和三维图形仿真的实现. 这种控件具有很强的通用性,可以与多种编程环境兼容.  相似文献   

17.
Designers in general have used diagrams and sketches to help in the process of creation. This is particularly so for system designers whose output is a set of programs. It would seem reasonable that the conversion of diagrams directly into a program would be desirable and yet the work of Green and Petre [3–4, 13] and Citrin [2] has placed doubt on the viability of graphical programming notations. Some of this work is reviewed in this paper. The use of secondary notation and the matc–mismatch hypothesis is reconsidered in the light of functional programming. It is proposed that much of the criticism of graphical notation is due to the imperative (or process orientated) nature of programming. Many of the limitations observed in using graphical notation are lifted when functional programming is used. Eight engineering dimensions and four engineering relationships (coherences) are proposed to describe programming environments (including notation). The source of ‘knotty structures’ is identified as embedded ‘if then else’ or ‘if’ statements. On analysing both imperative and functional programs it was found that imperative programs used an order of magnitude larger number of ‘if’s than functional programs. The key to the success of a functional language as a general representation as well as its coherence with a graphical notation comes from its unique extensibility. Support for these arguments is drawn from examples of a schematic programming language used for industrial scale projects. It is concluded that the marriage between a functional language and its graphical representation overcomes most of the original criticisms of graphical programming. It is demonstrated that this combination makes a viable and expressive tool for industrial-sized applications.  相似文献   

18.
《Parallel Computing》1997,22(13):1747-1770
To provide high-level graphical support for PVM (Parallel Virtual Machine) based program development, a complex programming environment (GRADE) is being developed. GRADE currently provides tools to construct, execute, debug, monitor and visualize message-passing parallel programs. It offers a high-level graphical programming abstraction mechanism to construct parallel applications by introducing a new graphical language called GRAPNEL. GRADE also provides the programmer with the same graphical user interface during the program design and debugging stages. A distributed debugging engine (DDBG) assists the user in debugging GRAPNEL programs on distributed memory computer architectures. Tape/PVM and PROVE support the performance monitoring and visualization of parallel programs developed in the GRADE environment.  相似文献   

19.
20.
面向多领域的可视化应用开发平台MOVADP   总被引:2,自引:0,他引:2  
MOVADP是一个面向多领域的可视化应用开发平台,文中主要介绍了该平台的软件结构和实现技术,MOVADP以数据流机制为核心,采用可视编程技术,为用户开发可视化应用提供了一个文凭交互的模块级图形编程环境,与同类平台相比,MOVADP的特点在于,引入了IFTHEN-ELSE,WHILE-LOOP等控制结构,支持用户构建复杂的可化应用流图;支持“lazyevaluation”命令驱动方式下的流图局部运行  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号