Re: counting subsets of S so that sum(S_n) = N
- From: azi.stdout@xxxxxxxxx
- Date: 26 Mar 2007 14:35:12 -0700
Well, it's not really the NP completeness that bothers me, but rather
my lame "subset" generation method.. Many "subsets" repeat over time
so I have to keep track of already summed sets and check them each
time I've encountered a "valid" subset.
I'm wondering.. Is there really no elegant way to get rid of repeated
subsets, and make my algorithm generate only unique subsets?
.
- Follow-Ups:
- Re: counting subsets of S so that sum(S_n) = N
- From: Chris Uppal
- Re: counting subsets of S so that sum(S_n) = N
- From: Logan Shaw
- Re: counting subsets of S so that sum(S_n) = N
- References:
- counting subsets of S so that sum(S_n) = N
- From: stdazi@xxxxxxxxx
- Re: counting subsets of S so that sum(S_n) = N
- From: Chris Uppal
- counting subsets of S so that sum(S_n) = N
- Prev by Date: Re: counting BST nodes using iteration
- Next by Date: Re: Problematic doubly-linked list merge sort
- Previous by thread: Re: counting subsets of S so that sum(S_n) = N
- Next by thread: Re: counting subsets of S so that sum(S_n) = N
- Index(es):