the current proposals for the inclusion of modules in the ISO Prolog standard are not very consensual. Since a program-structuring feature is required for a production programming language, several alternatives have b...
详细信息
ISBN:
(纸本)3540206426
the current proposals for the inclusion of modules in the ISO Prolog standard are not very consensual. Since a program-structuring feature is required for a production programming language, several alternatives have been explored over the years. In this article we recall and expand on the concepts of Contextual Logic programming, a powerful and simple mechanism which addresses the general issue of modularity in Logic Programs. We claim that unit arguments are an essential addition to this programming model, illustrate the claim with examples and draw parallels withobject-orientedprogramming. We argue that Contextual Logic programming is an interesting and effective tool for the development of large-scale programs built upon the Contextual Logic programming paradigm and argue that contexts with arguments actually provide a powerful, expressive and very convenient means of structuring large applications upon a Prolog basis. We substantiate our claims with examples taken mostly from a "real world" application, Universidade de Evora's Academic Information System, which is currently being developed using the prototype implementation described in this article. We sketch the most relevant aspects of a new implementation of Contextual Logic programming, GNU Prolog/CX, focusing on the impact on performance of the features which were added to a regular Prolog system, highlighting the low overhead which is incurred in case these extensions are not used.
Dynamically typed languages like Ruby [19] recently gained a growing popularity due to the simplification of unforeseen software extensibility. Extensibility is typically driven by method dispatch which in turn uses t...
详细信息
Image analysis is a key area in the computer vision domain that has many applications. Genetic programming (GP) has been successfully applied to this area extensively, with promising results. High-level features extra...
详细信息
ISBN:
(纸本)9783319306674;9783319306681
Image analysis is a key area in the computer vision domain that has many applications. Genetic programming (GP) has been successfully applied to this area extensively, with promising results. High-level features extracted from methods such as Speeded Up Robust Features (SURF) and Histogram of oriented Gradients (HoG) are commonly used for object detection with machine learning techniques. However, GP techniques are not often used withthese methods, despite being applied extensively to image analysis problems. Combining the training process of GP withthe powerful features extracted by SURF or HoG has the potential to improve the performance by generating high-level, domain-tailored features. this paper proposes a new GP method that automatically detects different regions of an image, extracts HoG features from those regions, and simultaneously evolves a classifier for image classification. By extending an existing GP region selection approach to incorporate the HoG algorithm, we present a novel way of using high-level features with GP for image classification. the ability of GP to explore a large search space in an efficient manner allows all stages of the new method to be optimised simultaneously, unlike in existing approaches. the new approach is applied across a range of datasets, with promising results when compared to a variety of well-known machine learning techniques. Some high-performing GP individuals are analysed to give insight into how GP can effectively be used with high-level features for image classification.
Library writers wish to provide a guarantee not only that each procedure in the library performs correctly in isolation, but also that the procedures perform correctly when run in conjunction. To this end, we propose ...
详细信息
this paper proposes and implements a rigorous method for studying the dynamic behaviour of Aspect) programs. As part of this methodology several new metrics specific to Aspect) programs are proposed and tools for coll...
详细信息
this paper proposes and implements a rigorous method for studying the dynamic behaviour of Aspect) programs. As part of this methodology several new metrics specific to Aspect) programs are proposed and tools for collecting the relevant metrics are presented. the major tools consist of: (1) a modified version of the Aspect) compiler that tags bytecode instructions with an indication of the cause of their generation, such as a particular feature of Aspect);and (2) a modified version of the *J dynamic metrics collection tool which is composed of a JVMPI-based trace generator and an analyzer which propagates tags and computes the proposed metrics. this dynamic propagation is essential, and thus this paper contributes not only new metrics, but also non-trivial ways of computing them. We furthermore present a set of benchmarks that exercise a wide range of AspectJ's features, and the metrics that we measured on these benchmarks. the results provide guidance to Aspect) users on how to avoid efficiency pitfalls, to Aspect) implementors on promising areas for future optimization, and to tool builders on ways to understand the runtime behaviour of Aspect).
the pace of technology change has accelerated in the past decade. Conceptually similar technologies are introduced on nearly a daily basis. On one hand, IT experts call for applying the most modern approaches and tech...
详细信息
In the computing education community, there are common understandings regarding what topics should be covered in some specific subjects and their corresponding courses and the preferred sequence in which the topics is...
详细信息
the objective of augmented reality (AR) is to add digital content to natural images and videos to create an interactive experience between the user and the environment. Scene analysis and object recognition play a cru...
详细信息
In order to increase the expressiveness of XML query languages we define an XML object model that provides a rich description of XML data using the notions of class schema and class tuple. Based on this model we devel...
详细信息
ISBN:
(纸本)9781607504771;9781607500896
In order to increase the expressiveness of XML query languages we define an XML object model that provides a rich description of XML data using the notions of class schema and class tuple. Based on this model we develop a novel query language, the XML Identity Query Language (XIQL) based on identifier generation and fixed-point computation. However, XIQL cannot deal with finite tree duplicates in an XML object graph. To solve this problem we extend XIQL by integrating terms. t denoting hereditarily finite sets. With respect to determinate transformations the extended XIQL(+) is still incomplete, but becomes complete with respect to a modified completeness criterion for XML database transformations, which aims at capturing more non-determinism.
暂无评论