共查询到20条相似文献,搜索用时 484 毫秒
1.
2.
3.
4.
5.
6.
在当前颇具竟争性的商业环境中,程序的界面已不仅仅是装饰物,而成为一个软件成功的重要的因素之一。 编写界面的基本原则是实用,也就是说不必说明,从界面上直观地就告诉了用户,这个程序是干什么用的,怎么用。方便用户是程序设计的目标。图形界面或图形和文本的结合应用能较好地解决这一问题。本文介绍了使用PASCAL语言实现图形界面设计和控制的一种方法。 实现图形界面设计需要做两件事:一件事是画出图形界面;另一件事是对这视口进行控制。解决第一件事就是利用色彩的明暗对比,来产生 相似文献
7.
嵌入式Linux下Qt/Embedded的应用 总被引:5,自引:3,他引:5
随着嵌入式系统的发展,用于实现与用户交流功能的嵌入式GUI成为研究中的一个重点。嵌入式Linux下,如粜图形界面接口采用的是Qt/Embedded,则必须采用Linux的帧缓冲设备来处理相关的底层命令。帧缓冲是Linux为图形设备提供的一个抽象接口.是Qt/Embcdded的底层图形引擎。文中介绍了Linux帧缓冲设备驱动程序框架,基于三星公司的S3C2410x处理器的开发平台,系统给出了嵌入式圆形界面GUI的移植,包括编译环境的建立,编译参数的设置等。 相似文献
8.
针对当前各种嵌入式系统开发中存在的图形界面开发较难的现状,介绍了一种新型的具有简便的图形界面开发功能的嵌入式系统--QNX;通过其自带的PhAB开发工具,可以方便地开发出用户所需的良好界面;根据QNX强实时性和高可靠性的特点,结合无人机地面控制台嵌入式系统的开发,论述了QNX下嵌入式系统的开发过程以及图形界面的开发方法.叙述了控制台软件的设计思想,给出了软件图形界面,对用户定制其它的带有图形界面的嵌入式系统具有一定的指导意义;通过实时性测试分析可以看出,系统实时响应时间在1~28ms之间,完全满足实时系统的要求. 相似文献
9.
新一代的税控收款机对图形界面的交互能力有很高的要求.开发满足市场特点的图形开发系统也势在必行,本文在嵌入式系统μClinux的环境下,采用LCD Framebuffer和MiniGUI设计并实现了新一代税控机图形界面的开发.此系统也对其它嵌入式图形系统的开发提供了很好的借鉴作用。 相似文献
10.
嵌入式Linux下Qt/Embedded的应用 总被引:1,自引:0,他引:1
随着嵌入式系统的发展,用于实现与用户交流功能的嵌入式GUI成为研究中的一个重点。嵌入式Linux下,如果图形界面接口采用的是Qt/Embedded,则必须采用Linux的帧缓冲设备来处理相关的底层命令。帧缓冲是Linux为图形设备提供的一个抽象接口,是Qt/Embedded的底层图形引擎。文中介绍了Linux帧缓冲设备驱动程序框架,基于三星公司的S3C2410x处理器的开发平台,系统给出了嵌入式图形界面GUI的移植,包括编译环境的建立,编译参数的设置等。 相似文献
11.
Hierarchical graphs and clustered graphs are useful non-classical graph models for structured relational information. Hierarchical graphs are graphs with layering structures; clustered graphs are graphs with recursive clustering structures. Both have applications in CASE tools, software visualization and VLSI design. Drawing algorithms for hierarchical graphs have been well investigated. However, the problem of planar straight-line representation has not been solved completely. In this paper we answer the question: does every planar hierarchical graph admit a planar straight-line hierarchical drawing? We present an algorithm that constructs such drawings in linear time. Also, we answer a basic question for clustered graphs, that is, does every planar clustered graph admit a planar straight-line drawing with clusters drawn as convex polygons? We provide a method for such drawings based on our algorithm for hierarchical graphs. 相似文献
12.
We present a graph-basedmodel of a generic type system for an OO language. The type system supports the features of recursive types, generics and interfaces, which are commonly found in modern OO languages such as Java. In the classical graph theory, we define type graphs, instantiation graphs and conjunction graphs that naturally illustrate the relations among types, generics and interfaces within complex OO programs. The model employs a combination of nominal and anonymous nodes to represent respectively types that are identified by names and structures, and defines graph-based relations and operations on types including equivalence, subtyping, conjunction and instantiation. Algorithms based on the graph structures are designed for the implementation of the type system. We believe that this type system is important for the development of a graph-based logical foundation of a formal method for verification of and reasoning about OO programs. 相似文献
13.
The problem of counting the number of spanning trees is an old topic in graph theory with important applications to reliable network design. Usually, it is desirable to put forward a formula of the number of spanning trees for various graphs, which is not only interesting in its own right but also in practice. Since some large graphs can be composed of some existing smaller graphs by using the product of graphs, the number of spanning trees of such large graph is also closely related to that of the corresponding smaller ones. In this article, we establish a formula for the number of spanning trees in the lexicographic product of two graphs, in which one graph is an arbitrary graph G and the other is a complete multipartite graph. The results extend some of the previous work, which is closely related to the number of vertices and Lapalacian eigenvalues of smaller graphs only. 相似文献
14.
The problem of counting the number of spanning trees is an old topic in graph theory with important applications to reliable network design. Usually, it is desirable to put forward a formula of the number of spanning trees for various graphs, which is not only interesting in its own right but also in practice. Since some large graphs can be composed of some existing smaller graphs by using the product of graphs, the number of spanning trees of such large graph is also closely related to that of the corresponding smaller ones. In this article, we establish a formula for the number of spanning trees in the lexicographic product of two graphs, in which one graph is an arbitrary graph G and the other is a complete multipartite graph. The results extend some of the previous work, which is closely related to the number of vertices and Lapalacian eigenvalues of smaller graphs only. 相似文献
15.
M. Ferrer Author Vitae E. Valveny Author Vitae Author Vitae H. Bunke Author Vitae 《Pattern recognition》2010,43(4):1642-1655
The median graph has been presented as a useful tool to represent a set of graphs. Nevertheless its computation is very complex and the existing algorithms are restricted to use limited amount of data. In this paper we propose a new approach for the computation of the median graph based on graph embedding. Graphs are embedded into a vector space and the median is computed in the vector domain. We have designed a procedure based on the weighted mean of a pair of graphs to go from the vector domain back to the graph domain in order to obtain a final approximation of the median graph. Experiments on three different databases containing large graphs show that we succeed to compute good approximations of the median graph. We have also applied the median graph to perform some basic classification tasks achieving reasonable good results. These experiments on real data open the door to the application of the median graph to a number of more complex machine learning algorithms where a representative of a set of graphs is needed. 相似文献
16.
Many problems can be cast as statistical inference on an attributed random graph. Our motivation is change detection in communication graphs. We prove that tests based on a fusion of graph-derived and content-derived metadata can be more powerful than those based on graph or content features alone. For some basic attributed random graph models, we derive fusion tests from the likelihood ratio. We describe the regions in parameter space where the fusion improves power, using both numeric results from selected small examples and analytic results on asymptotically large graphs. 相似文献
17.
设计一个实用的程序控制流分析工具需要解决非结构程序中goto等语句的控制流图构造问题。C语言程序控制流图生成器CfgGen的设计采用基于基本块标识的控制流图构造方法解决该问题。CfgGen程序基于规则,通过语法制导翻译标识基本块、构造控制流图,易移植和维护。CfgGen构造的控制流图标识了基本块,可以很方便地用于程序分析和优化。 相似文献
18.
19.
Because of its wide application, the subgraph matching problem has been studied extensively during the past decade. However, most existing solutions assume that a data graph is a vertex/edge-labeled graph (i.e., each vertex/edge has a simple label). These solutions build structural indices by considering the vertex labels. However, some real graphs contain rich-content vertices such as user profiles in social networks and HTML pages on the World Wide Web. In this study, we consider the problem of subgraph matching using a more general scenario. We build a structural index that does not depend on any vertex content. Based on the index, we design a holistic subgraph matching algorithm that considers the query graph as a whole and finds one match at a time. In order to further improve efficiency, we propose a “partial evaluation and assembly” framework to find subgraph matches over large graphs. Last but not least, our index has light maintenance overhead. Therefore, our method can work well on dynamic graphs. Extensive experiments on real graphs show that our method outperforms the state-of-the-art algorithms. 相似文献
20.
面向不确定图的k最近邻查询 总被引:1,自引:0,他引:1
生物网络、社会网络、交际网络等复杂的网络被广泛的研究,由于数据抽出时引入的噪声和错误使这些数据具有不确定性,因此可以对这些应用使用不确定图模型建模,k最近邻查询问题是查询一个图上的距离某个特定点最近的k个邻居节点的问题,它是不确定图上的一个基础问题.设计了一个解决不确定图上最近邻问题的框架,首先定义了一种新颖的不确定图上的k最近邻查询,然后提出了针对该查询的一般处理算法,同时对该算法进行了优化,使算法效率得到极大提高.理论分析和实验结果表明提出的算法能够高效地处理不确定图上的k最近邻查询. 相似文献