swarm-support
[Top][All Lists]
Advanced

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

more help please


From: Laurence
Subject: more help please
Date: Thu, 16 Jul 1998 01:12:50 +0100

Hi all,

First of all, many thanks to everyone who responded to my last questions.
Since then I have been able to extend my SWARM chemotaxis model so that the
objects representing the enzymes are represented in their correct
concentrations.  I have further queries however about SWARM's parallel
execution.

Basically, the input into the system takes the form of a message to each of
the 500 receptor objects.  The signals then pass through a network of
interconnected enzyme objects, some of which work antagonistically, to the
single motor object, whereupon the signal will affect the motor's state.

Q1: The enzymes that work antagonistically seem to be waiting for a method
to finish instead of interrupting that method by calling it again with a
different value as a parameter (so as to change a flag).  Can an object
execute the same method more than once at a time?  If not, how can the
execution of methods be interrupted?

Q2: I have a BLT graph monitoring the state of the motor (represented as an
int, range 0-4).  However, the messages sent to the receptors trigger 1000s
of other messages, some of which affect the motor state.  Instead of showing
this, the graph waits until every message has been sent before continuing,
displaying only the motor's final state after many fluctuations.  How can I
get to graph to keep going whilst other messages are being sent?

Both these problems involve parallel execution, which I thought SWARM was
capable of.  Why should this happen?

Best wishes, Laurence (address@hidden)
---------------------
http://www.csc.liv.ac.uk/~laurence


                  ==================================
   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]