Treedy: A Heuristic for Counting and Sampling Subsets

09/26/2013
by   Teppo Niinimaki, et al.
0

Consider a collection of weighted subsets of a ground set N. Given a query subset Q of N, how fast can one (1) find the weighted sum over all subsets of Q, and (2) sample a subset of Q proportionally to the weights? We present a tree-based greedy heuristic, Treedy, that for a given positive tolerance d answers such counting and sampling queries to within a guaranteed relative error d and total variation distance d, respectively. Experimental results on artificial instances and in application to Bayesian structure discovery in Bayesian networks show that approximations yield dramatic savings in running time compared to exact computation, and that Treedy typically outperforms a previously proposed sorting-based heuristic.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/05/2007

On the variance of subset sum estimation

For high volume data streams and large data warehouses, sampling is used...
research
12/18/2019

Improved quantum algorithm for the random subset sum problem

We propose a quantum algorithm for solving random subset sum instances w...
research
11/13/2021

Classical and quantum dynamic programming for Subset-Sum and variants

Subset-Sum is an NP-complete problem where one must decide if a multiset...
research
03/14/2020

Approximation Schemes for Subset Sum Ratio Problems

We consider the Subset Sum Ratio Problem (SSR), in which given a set of ...
research
02/07/2022

Effective Variable Depth Local Search for the Budgeted Maximum Coverage Problem

We address the Budgeted Maximum Coverage Problem (BMCP), which is a natu...
research
09/04/2019

A greedoid and a matroid inspired by Bhargava's p-orderings

Consider a finite set E equipped with a "weight function" w : E →R and a...
research
07/04/2023

Heuristic Algorithms for the Approximation of Mutual Coherence

Mutual coherence is a measure of similarity between two opinions. Althou...

Please sign up or login with your details

Forgot password? Click here to reset