proportionality problem
- From: "Digital Puer" <digital_puer@xxxxxxxxxxx>
- Date: 25 Feb 2006 14:05:49 -0800
Suppose I have a list of resources, where each resource is
assigned a quality value 1 to 10, inclusive, where 1 is the
highest quality. I want to assign resource requests to each
of these resources in proportion to their quality value.
For example, if I have two resources A and B with quality
values 1 and 4, respectively, I would assign requests to
A and B with a 4:1 ratio because A has 4x the value of B.
How can I extend this to the general case with multiple
resources? For example, if A, B, and C have values 1, 2,
3, how would requests be assigned to A, B, and C? I think
it would be 6:3:2. What's a good way to compute this?
.
- Follow-Ups:
- Re: proportionality problem
- From: Marius Huse Jacobsen
- Re: proportionality problem
- From: Gene
- Re: proportionality problem
- From: jimmaureenrogers@xxxxxxxxxxxxxxxx
- Re: proportionality problem
- From: Thad Smith
- Re: proportionality problem
- From: Kai-Uwe Bux
- Re: proportionality problem
- Prev by Date: Re: need advice on how to implement the project successfully...
- Next by Date: Re: proportionality problem
- Previous by thread: init
- Next by thread: Re: proportionality problem
- Index(es):
Relevant Pages
|