12 research outputs found

    Smooth heaps and a dual view of self-adjusting data structures

    Full text link
    We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundamental, extensively studied, and practically relevant families of data structures. Roughly speaking, we map an arbitrary heap algorithm within a natural model, to a corresponding BST algorithm with the same cost on a dual sequence of operations (i.e. the same sequence with the roles of time and key-space switched). This is the first general transformation between the two families of data structures. There is a rich theory of dynamic optimality for BSTs (i.e. the theory of competitiveness between BST algorithms). The lack of an analogous theory for heaps has been noted in the literature. Through our connection, we transfer all instance-specific lower bounds known for BSTs to a general model of heaps, initiating a theory of dynamic optimality for heaps. On the algorithmic side, we obtain a new, simple and efficient heap algorithm, which we call the smooth heap. We show the smooth heap to be the heap-counterpart of Greedy, the BST algorithm with the strongest proven and conjectured properties from the literature, widely believed to be instance-optimal. Assuming the optimality of Greedy, the smooth heap is also optimal within our model of heap algorithms. As corollaries of results known for Greedy, we obtain instance-specific upper bounds for the smooth heap, with applications in adaptive sorting. Intriguingly, the smooth heap, although derived from a non-practical BST algorithm, is simple and easy to implement (e.g. it stores no auxiliary data besides the keys and tree pointers). It can be seen as a variation on the popular pairing heap data structure, extending it with a "power-of-two-choices" type of heuristic.Comment: Presented at STOC 2018, light revision, additional figure

    Functional programming and graph algorithms

    Get PDF
    This thesis is an investigation of graph algorithms in the non-strict purely functional language Haskell. Emphasis is placed on the importance of achieving an asymptotic complexity as good as with conventional languages. This is achieved by using the monadic model for including actions on the state. Work on the monadic model was carried out at Glasgow University by Wadler, Peyton Jones, and Launchbury in the early nineties and has opened up many diverse application areas. One area is the ability to express data structures that require sharing. Although graphs are not presented in this style, data structures that graph algorithms use are expressed in this style. Several examples of stateful algorithms are given including union/find for disjoint sets, and the linear time sort binsort. The graph algorithms presented are not new, but are traditional algorithms recast in a functional setting. Examples include strongly connected components, biconnected components, Kruskal's minimum cost spanning tree, and Dijkstra's shortest paths. The presentation is lucid giving more insight than usual. The functional setting allows for complete calculational style correctness proofs - which is demonstrated with many examples. The benefits of using a functional language for expressing graph algorithms are quantified by looking at the issues of execution times, asymptotic complexity, correctness, and clarity, in comparison with traditional approaches. The intention is to be as objective as possible, pointing out both the weaknesses and the strengths of using a functional language

    Tracing the Compositional Process. Sound art that rewrites its own past: formation, praxis and a computer framework

    Get PDF
    The domain of this thesis is electroacoustic computer-based music and sound art. It investigates a facet of composition which is often neglected or ill-defined: the process of composing itself and its embedding in time. Previous research mostly focused on instrumental composition or, when electronic music was included, the computer was treated as a tool which would eventually be subtracted from the equation. The aim was either to explain a resultant piece of music by reconstructing the intention of the composer, or to explain human creativity by building a model of the mind. Our aim instead is to understand composition as an irreducible unfolding of material traces which takes place in its own temporality. This understanding is formalised as a software framework that traces creation time as a version graph of transactions. The instantiation and manipulation of any musical structure implemented within this framework is thereby automatically stored in a database. Not only can it be queried ex post by an external researcher—providing a new quality for the empirical analysis of the activity of composing—but it is an integral part of the composition environment. Therefore it can recursively become a source for the ongoing composition and introduce new ways of aesthetic expression. The framework aims to unify creation and performance time, fixed and generative composition, human and algorithmic “writing”, a writing that includes indeterminate elements which condense as concurrent vertices in the version graph. The second major contribution is a critical epistemological discourse on the question of ob- servability and the function of observation. Our goal is to explore a new direction of artistic research which is characterised by a mixed methodology of theoretical writing, technological development and artistic practice. The form of the thesis is an exercise in becoming process-like itself, wherein the epistemic thing is generated by translating the gaps between these three levels. This is my idea of the new aesthetics: That through the operation of a re-entry one may establish a sort of process “form”, yielding works which go beyond a categorical either “sound-in-itself” or “conceptualism”. Exemplary processes are revealed by deconstructing a series of existing pieces, as well as through the successful application of the new framework in the creation of new pieces

    Proceedings of the 7th Sound and Music Computing Conference

    Get PDF
    Proceedings of the SMC2010 - 7th Sound and Music Computing Conference, July 21st - July 24th 2010

    Aspects of Synthetic Vision Display Systems and the Best Practices of the NASA's SVS Project

    Get PDF
    NASA s Synthetic Vision Systems (SVS) Project conducted research aimed at eliminating visibility-induced errors and low visibility conditions as causal factors in civil aircraft accidents while enabling the operational benefits of clear day flight operations regardless of actual outside visibility. SVS takes advantage of many enabling technologies to achieve this capability including, for example, the Global Positioning System (GPS), data links, radar, imaging sensors, geospatial databases, advanced display media and three dimensional video graphics processors. Integration of these technologies to achieve the SVS concept provides pilots with high-integrity information that improves situational awareness with respect to terrain, obstacles, traffic, and flight path. This paper attempts to emphasize the system aspects of SVS - true systems, rather than just terrain on a flight display - and to document from an historical viewpoint many of the best practices that evolved during the SVS Project from the perspective of some of the NASA researchers most heavily involved in its execution. The Integrated SVS Concepts are envisagements of what production-grade Synthetic Vision systems might, or perhaps should, be in order to provide the desired functional capabilities that eliminate low visibility as a causal factor to accidents and enable clear-day operational benefits regardless of visibility conditions

    The Viscous

    Get PDF
    Slime, goo, gunge, gloop, gels, sols, globules, jellies, emulsions, greases, soaps, syrups, glues, lubricants, liquid crystals, moulds, plasmas, and protoplasms – the viscous is not one thing, but rather a quality of resistance and flow, of stickiness and slipperiness. It is a state of matter that oozes into the gaps of our everyday existence, across age groups, between cultures and disciplines.Since the large-scale extraction of petroleum in the 19th century the viscous has witnessed a proliferation in the variety of its forms. Mechanized industry required lubricants and oil distillation produced waste products that were refined to form Vaseline. From this age, new viscous forms and technologies emerged, products from plastic (and plastic explosives) to cosmetics, glycerine, asphalt, sexual lubrication, hydro- and aero- gels, even anti-climb paint.Based on unique and wide-ranging research, The Viscous is the first major investigation of viscous encounter and possibility over the course of the last century, not simply as a material state, but also an imaginative event. We enter into a story of matter at its most wayward, deviant, hesitant, and resistant.From asphalt lakes to industrial molasses tanks, from liquid crystals squirming in our screens to milk fetishes, The Viscous discloses gooeyness as a peculiarly modern phase of matter. "Everything oozes," as Beckett’s Estragon famously proclaims in Waiting for Godot. Viscous dynamics are exposed as not only hugely various in a post industrial age, but particularly useful ways of thinking, feeling, writing, and making in a time of ecological anxiety

    Immediation II

    Get PDF
    All “media-tion” stages and distributes real, embodied – that is, immediate, events. The concept of immediation entails that cultural, technical, aesthetic objects, subjects, and events can no longer be abstracted from the ways in which they contribute to and are changed by broader ecologies. Immediation I and II seek to engage the entwined questions of relation, event and ecology from outside already claimed territories, nomenclature and calls to action

    Drawing Futures

    Get PDF
    Drawing Futures brings together international designers and artists for speculations in contemporary drawing for art and architecture. Despite numerous developments in technological manufacture and computational design that provide new grounds for designers, the act of drawing still plays a central role as a vehicle for speculation. There is a rich and long history of drawing tied to innovations in technology as well as to revolutions in our philosophical understanding of the world. In reflection of a society now underpinned by computational networks and interfaces allowing hitherto unprecedented views of the world, the changing status of the drawing and its representation as a political act demands a platform for reflection and innovation. Drawing Futures will present a compendium of projects, writings and interviews that critically reassess the act of drawing and where its future may lie. Drawing Futures focuses on the discussion of how the field of drawing may expand synchronously alongside technological and computational developments. The book coincides with an international conference of the same name, taking place at The Bartlett School of Architecture, UCL, in November 2016. Bringing together practitioners from many creative fields, the book discusses how drawing is changing in relation to new technologies for the production and dissemination of ideas

    Aeronautical engineering: A cumulative index to a continuing bibliography (supplement 235)

    Get PDF
    This publication is a cummulative index to the abstracts contained in Supplements 223 through 234 of Aeronautical Engineering: A Continuing Bibliography. The bibliographic series is compiled through the cooperative efforts of the American Institute of Aeronautics and Astronautics (AIAA) and the National Aeronautics and Space Administration (NASA). Seven indexes are included -- subject, personal author, corporate source, foreign technology, contract number, report number and accession number
    corecore