Improved Algorithms for Polynomial-Time Decay and Time-Decay with Additive Error
Author(s) -
Tsvi Kopelowitz,
Ely Porat
Publication year - 2007
Publication title -
theory of computing systems
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.479
H-Index - 44
eISSN - 1433-0490
pISSN - 1432-4350
ISBN - 3-540-29106-7
DOI - 10.1007/s00224-007-9031-8
Subject(s) - multiplicative function , approximation error , exponential function , polynomial , exponential growth , time complexity , mathematics , exponential decay , algorithm , pspace , matching (statistics) , space (punctuation) , space time , computer science , computational complexity theory , mathematical analysis , statistics , physics , chemical engineering , nuclear physics , engineering , operating system
We consider the problem of maintaining polynomial and exponential decay aggregates of a data stream, where the weight of values seen from the stream diminishes as time elapses. This type of aggregation was first introduced by Cohen and Strauss in [4]. These types of decay functions on streams are used in many applications in which the relative value of streaming data decreases since the time the data was seen. Some recent work and space efficient algorithms were developed for time-decaying aggregations, and in particular polynomial and exponential decaying aggregations. All of the work done so far has maintained multiplicative approximations for the aggregates. In this paper we present the first O(log N) space algorithm for the polynomial decay under a multiplicative approximation, matching a lower bound. In addition, we explore and develop algorithms and lower bounds for approximations allowing an additive error in addition to the multiplicative error. We show that in some cases, allowing an additive error can decrease the amount of space required, while in other cases we cannot do any better than a solution without additive error.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom