Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
On the Complexity of Approximate Sum of Sorted List - MaRDI portal

On the Complexity of Approximate Sum of Sorted List

From MaRDI portal
Publication:5405940

DOI10.1007/978-3-642-38756-2_29zbMATH Open1303.68070arXiv1112.0520OpenAlexW1897012829MaRDI QIDQ5405940

Bin Fu

Publication date: 3 April 2014

Published in: Frontiers in Algorithmics and Algorithmic Aspects in Information and Management (Search for Journal in Brave)

Abstract: We consider the complexity for computing the approximate sum a1+a2+...+an of a sorted list of numbers a1lea2le...lean. We show an algorithm that computes an (1+epsilon)-approximation for the sum of a sorted list of nonnegative numbers in an O(1overepsilonmin(logn,log(xmaxoverxmin))cdot(log1overepsilon+loglogn)) time, where xmax and xmin are the largest and the least positive elements of the input list, respectively. We prove a lower bound Omega(min(logn,log(xmaxoverxmin)) time for every O(1)-approximation algorithm for the sum of a sorted list of nonnegative elements. We also show that there is no sublinear time approximation algorithm for the sum of a sorted list that contains at least one negative number.


Full work available at URL: https://arxiv.org/abs/1112.0520






Related Items (1)


Recommendations





This page was built for publication: On the Complexity of Approximate Sum of Sorted List

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5405940)