swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheduling


From: John W. Fondon III (Trey)
Subject: Re: Scheduling
Date: Fri, 21 Nov 1997 08:19:53 -0600

>On Wed, 19 Nov 1997, Thai Dinh Nguyen wrote:
>
>> Dear fellow Swarm users:
>>
>> I need help on Swarm's schedule:
>>
>> 1.  In the application Heatbugs, what will happen if there are two bugs
>> at (2,4) and (2,5) and both bugs pick out (2,3) as the next best spot to
>> move to?  Will only one of the bug moves to this spot?  If so, will this
>> be determined by which bug was first (or last) added to the bugList?
>
>>From the Heatbug.m file:
>
>  // Part of the heatbug simulation is that two bugs cannot be in the
>  // same spot. The code to enforce that is done here: if the site we
>  // want is occupied by another heatbug, move randomly. Note that
>  // this code does not parallelize properly, it requires that each
>  // bug be set a "step" method in sequence. This is a design flaw in
>  // heatbugs: proper conflict resolution is difficult.
>  // Also note we only look for 10 random spots - if we don't find an
>  // unoccupied spot by then, assume it's too crowded and just don't move.
>


What is "the proper conflict resolution"?  Is there a way to do this sshort
of resorting to spin glasses?

Trey




                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]