php-general Digest 1 Oct 2013 18:51:44 - Issue 8384
Topics (messages 37 through 37):
Algorithm Help
37 by: Floyd Resler
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
Here's my task: A group of kids is going to be staying with different host
families throughout the next 8 months. The number of kids staying with a host
family can range from 2 to 10. When deciding which kids should stay together
at a host family, the idea is for the system to put together
Hey Tim,
It seems that deleteObject takes in 2 params, and you are sending it 1
param. I would recommend you look at the documentation and make sure you
are sending the right params.
Aziz
On Sun, Sep 29, 2013 at 10:29 PM, Tim Dunphy bluethu...@gmail.com wrote:
Hi Aziz,
Thank you for
On 10/1/2013 12:51 PM, Floyd Resler wrote:
Here's my task: A group of kids is going to be staying with different host
families throughout the next 8 months. The number of kids staying with a host
family can range from 2 to 10. When deciding which kids should stay together
at a host family,
DB or flatfile?
I would create a matrix of all kids crossed with every kid. Everytime a kid
is put in a home with another kid, ++ that index. When dispatching kids,
sort by index ASC.
Aziz
On Tue, Oct 1, 2013 at 3:01 PM, John Meyer johnme...@pueblocomputing.comwrote:
On 10/1/2013 12:51 PM,
On Tue, 2013-10-01 at 15:09 -0400, Aziz Saleh wrote:
DB or flatfile?
I would create a matrix of all kids crossed with every kid. Everytime a kid
is put in a home with another kid, ++ that index. When dispatching kids,
sort by index ASC.
Aziz
On Tue, Oct 1, 2013 at 3:01 PM, John
m
1375 GLENDALE MILFORD RD., CINCINNATI, OH 45215
On Oct 1, 2013, at 3:14 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
On Tue, 2013-10-01 at 15:09 -0400, Aziz Saleh wrote:
DB or flatfile?
I would create a matrix of all kids crossed with every kid. Everytime a kid
is put in a
Assuming you don't have to be exact, somthing similar to this might work.
Assign each kid to a host family randomly
for each kid, check how frequently it has been combined with the kids in
its assigned family.
if it is too close, swap with a different family
when all kids in that family are
8 matches
Mail list logo