共查询到20条相似文献,搜索用时 62 毫秒
2.
在分析算术表达式求值算法的基础上,对如何实现"算符优先关系"的比较、如何设定栈中元素的类型、如何将数字字符串转换为相应的数字等几个难点进行了剖析,并给出了不同的解决方案。 相似文献
3.
4.
栈是限定只能在表的一端进行插入和删除的线性表。根据栈的这种存取特征,栈也被称为后进先出表。生活中的穿衣脱衣、九连环游戏、括号匹配等都是应用栈的这一特点。栈的基本操作包括入栈、出栈、得到栈顶元素、判断栈空、判断栈满等等。在该文中我们将讨论栈在中缀表达式求值、后缀表达式求值以及后缀表达式转换成中缀表达式中的应用。 相似文献
5.
栈是限定只能在表的一端进行插入和删除的线性表。根据栈的这种存取特征,栈也被称为后进先出表。生活中的穿衣脱衣、九连环游戏、括号匹配等都是应用栈的这一特点。栈的基本操作包括入栈、出栈、得到栈顶元素、判断栈空、判断栈满等等。在该文中我们将讨论栈在中缀表达式求值、后缀表达式求值以及后缀表达式转换成中缀表达式中的应用。 相似文献
6.
表达式求值器在工作流中的应用 总被引:1,自引:0,他引:1
在工作流管理系统中需要广泛地使用表达式。工作流管理系统需要在定义时对表达式进行静态的编译,发现其中的错误;在运行时能够动态地对表达式求值。文章提出了一种基于Java的工作流引擎设计中用JavaCC和JJtree设计和开发表达式求值器的实现方法。 相似文献
7.
刘计衡 《电脑编程技巧与维护》2018,(4):29-30,80
针对初学者在C表达式求解过程中遇到的问题,通过剖析一组典型实例,提出了在常用编译环境VC++6.0下表达式求值的5个潜规则. 相似文献
8.
9.
10.
基于字符串的逻辑表达式的合法性进行判断在很多领域和场合下是经常遇到的 ,比如 :文件检索 ,信息查询等等 .而我们常见的文件检索与信息查询软件大多仅仅支持几个简单的逻辑算符 ,例如 :与、或 ,并且逻辑表达式中的组成字符串只能做简单的与、或运算 ,使得逻辑表达式的表达能力有限 ,用户使用的灵活性小 .本文针对上述问题进行了研究 ,采用算符优先算法给出了对该问题一种非常实用而又简练的实现方法 ,不但实现了普通搜索引擎所支持的简单的逻辑表达式的合法性判断功能 ,而且扩展了所支持的逻辑表达式的逻辑表达能力 :支持非运算 ;增加了支持逻辑表达式的优先级算符“(”和“)”.这使得逻辑表达式的表达功能和表达灵活性都得到很大的增强和提高 .本文给出的算法还可用于许多其他的基于字符串的逻辑表达式的操作功能 . 相似文献
11.
在现实中存在许多这样的实体,它需要关系数据库中多个相关的记录一起才能完整地表示其意义,且这些记录之间通常具有行和列上的计算关系,使用传统的方法不能很好地实现这样的实体.针对该情况,提出逻辑实体及其行列模板的概念,设计逻辑实体和行列模板的关系模式,给出行列模板的实现,并结合一个实例,详细说明了行列模板的具体应用. 相似文献
12.
13.
针对目前基层林农与林场在森林经营管理中的立地评价问题,探讨了利用林分生长模型对有林地进行评价的方法与技术,建立了以定距等分算法为核心,采用好、中、差立地等级对有林地进行评价的方法,设计了林分生长模型库,实现了生长模型解析算法.在此基础上,设计了立地评价系统工作流程和立地评价系统架构,结合无林地评价开发了基于浏览器与服务器体系结构的综合立地评价系统,从而有效满足了在只有林分生长模型情况下的立地评价需求. 相似文献
14.
An implementation of logical analysis of data 总被引:8,自引:0,他引:8
Bores E. Hammer P.L. Ibaraki T. Kogan A. Mayoraz E. Muchnik I. 《Knowledge and Data Engineering, IEEE Transactions on》2000,12(2):292-306
Describes a new, logic-based methodology for analyzing observations. The key features of this “logical analysis of data” (LAD) methodology are the discovery of minimal sets of features that are necessary for explaining all observations and the detection of hidden patterns in the data that are capable of distinguishing observations describing “positive” outcome events from “negative” outcome events. Combinations of such patterns are used for developing general classification procedures. An implementation of this methodology is described in this paper, along with the results of numerical experiments demonstrating the classification performance of LAD in comparison with the reported results of other procedures. In the final section, we describe three pilot studies on applications of LAD to oil exploration, psychometric testing and the analysis of developments in the Chinese transitional economy. These pilot studies demonstrate not only the classification power of LAD but also its flexibility and capability to provide solutions to various case-dependent problems 相似文献
15.
16.
17.
C.G. Thomas 《Knowledge》1993,6(4):230-238
Software systems developed in recent years are becoming increasingly powerful, but in most cases they tend to abandon the user to deal with the complexity of the system alone. There is an immense need for systems with individual, context-sensitive support. The paper discusses the development of such a support system with special focus on the user interface. The extension of an existing and complex program. Excel, to an adaptive and customizable system is described. This extension is called Flexcel, and it has been implemented and evaluated.
The primary aim of this extension is to provide a convenient environment for adapting Excel's user interface to particular users and their current tasks. For example, it allows the user to define new menu for actions that are frequently needed and normally require a tedious dialog step. Flexcel also analyzes the user's interaction style and presents adaptation suggestions. A critique component supports the user in his/her problem solving and learning activities related to the adaptability of Flexcel's user interface. 相似文献
18.
Lu Y. Abdelzaher T.F. Avneesh Saxena 《Parallel and Distributed Systems, IEEE Transactions on》2004,15(5):440-452
With the dramatic explosion of online information, the Internet is undergoing a transition from a data communication infrastructure to a global information utility. PDAs, wireless phones, Web-enabled vehicles, modem PCs, and high-end workstations can be viewed as appliances that "plug-in" to this utility for information. The increasing diversity of such appliances calls for an architecture for performance differentiation of information access. The key performance accelerator on the Internet is the caching and content distribution infrastructure. While many research efforts addressed performance differentiation in the network and on Web servers, providing multiple levels of service in the caching system has received much less attention. It has two main contributions. First, we describe, implement, and evaluate an architecture for differentiated content caching services as a key element of the Internet content distribution architecture. Second, we describe a control-theoretical approach that lays well-understood theoretical foundations for resource management to achieve performance differentiation in proxy caches. An experimental study using the Squid proxy cache shows that differentiated caching services provide significantly better performance to the premium content classes. 相似文献
19.
Large organizations always have a strong demand for storage from data‐intensive applications and instruments. In this paper, we present the design, implementation, and evaluation of a new virtual storage system, Storage@desk, which can aggregate a large number of distributed machines within an organization to provide storage services with quality of service guarantees. Because storage virtualization is the prominent goal, Storage@desk provides clients with the abstraction of a hard drive by utilizing the Internet SCSI protocol. As such, data access to new storage services is transparent so that clients do not need to modify any existing applications nor change their current practices. Storage@desk replicates data and employs version‐based journaling for high availability. It utilizes a market‐based model for resource management and a feedback controller for automated performance control. We have developed a prototype of Storage@desk that implements the core components. Copyright © 2010 John Wiley & Sons, Ltd. 相似文献
20.
Although various logical story unit (LSU) segmentation methods based on visual content have been presented in literature, a common ground for comparison is missing. We present a systematic evaluation of the mutual dependencies of segmentation methods and their performances. LSUs are subjective and cannot be defined with full certainty. To limit subjectivity, we present definitions based on film theory. For evaluation, we introduce a method measuring the quality of a segmentation method and its economic impact rather than the amount of errors. Furthermore, the inherent complexity of the segmentation problem given a visual feature is measured. Also, we show to what extent LSU segmentation depends on the quality of shot boundary segmentation. To understand LSU segmentation, we present a unifying framework classifying segmentation methods into four essentially different types. We present results of an evaluation of the four types under similar circumstances using an unprecedented amount of 20 hours of 17 complete videos in different genres. Tools and ground truths are available for interactive use via the Internet. 相似文献