swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] a quick question on building actions


From: Derek Farren
Subject: Re: [Swarm-Support] a quick question on building actions
Date: Thu, 22 Jul 2004 20:53:08 -0400

Dear Paul,

You mean doing a small file that calls just the methods I am haveing
problems with in order to isolate them and see if they are ok?
Hey, that´s a great idea!!!

Thanks

Derek
----- Original Message ----- 
From: "Paul Johnson" <address@hidden>
To: <address@hidden>
Sent: Thursday, July 22, 2004 11:33 AM
Subject: Re: [Swarm-Support] a quick question on building actions


> Hello Derek:
>
> It should do option a) below.
>
> You say it does not do it, but don't explain how/what/where/when/why.
>
> If you can't figure out what's up, I'd consider making one of those
> small Swarm test case files like Marcus has made and then diagnose it
> that way. In the middle of a complicated model, sometimes those things
> are tough to isolate.
>
> Most of the small working examples are collected here:
>
> http://www.ku.edu/~pauljohn/SwarmFaq/WorkingExampleCode/
>
> Some of these may need tweaking to suit your environment, but  if you
> edit them in Emacs, then the "local" line at the bottom will give the
> compiler/linker commands needed.
>
> pj
>
> Derek Farren wrote:
> > Hello everyone.
> >
> > Lets say I have the following messages in ModelSwarm, buildActions:
> >
> > [ModelActions createActionForEach: agentList message: M(firstMessage)];
> > [ModelActions createActionForEach: agentList message: M(secondMessage)];
> >
> > That mean that the application will:
> >
> > a) send firstMessage to all agents, then send secondMessage to all
agents.
> > b) send firstMessage to the first agent in agentList, then send
> > secondMessage to the first agent in agentList, then send firstMessage to
the
> > second agent in agentList, then send secondMessage to the second agent
in
> > agentList, and so on...
> >
> > I strongly believe answer is a), but my application isn´t doing it...
and
> > before starting a serious debugging session I would like to be sure what
the
> > application should be doing.
> >
> > Thanks
> >
> > Derek
> >
> >
> > _______________________________________________
> > Support mailing list
> > address@hidden
> > http://www.swarm.org/mailman/listinfo/support
>
>
> -- 
> Paul E. Johnson                       email: address@hidden
> Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
> 1541 Lilac Lane, Rm 504
> University of Kansas                  Office: (785) 864-9086
> Lawrence, Kansas 66044-3177           FAX: (785) 864-5700
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support




reply via email to

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