Looking for an algorithm to accomplish the following
- From: "fadi" <fadi@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 23:03:21 GMT
Hello all,
Lets say there are N number of sets and each set has the same number of
attributes as follows:
Set1: W=10, X=15, Y=5, Z=25
Set2: W=10, X=5, Y=10, Z=20
Set3: W=10, X=10, Y=20, Z=0
Set4: W=10, X=30, Y=10, Z=5
Now, to find the sets that if summed, you would get the following values:
Result: W= 20, X=15, Y=30, Z=20
Answer would be Set2 + Set3 of course, but is there an algorithm that I can
follow that would find this answer for me?
It is really more complicated than this where the desired Result can be off
by certain factor and would have condition as to which can be added..etc,
but an algorithm would be a starting point for a software I am writing
hopefully.
Thanks!
.
- Follow-Ups:
- Re: Looking for an algorithm to accomplish the following
- From: Philippe 92
- Re: Looking for an algorithm to accomplish the following
- From: Jaco van Niekerk
- Re: Looking for an algorithm to accomplish the following
- From: mensanator@xxxxxxxxxxx
- Re: Looking for an algorithm to accomplish the following
- Prev by Date: Re: infinity
- Next by Date: Re: Goldbach & Riemann
- Previous by thread: Simple Treatment of Poisson Distribution?
- Next by thread: Re: Looking for an algorithm to accomplish the following
- Index(es):