swarm-support
[Top][All Lists]
Advanced

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

Re: Simulation order


From: david ROBIN
Subject: Re: Simulation order
Date: Wed, 22 Dec 1999 06:40:28 -0800 (PST)


--- "Marcus G. Daniels" <address@hidden> a écrit:
> >>>>> "DR" == david ROBIN <address@hidden>
> writes:
> 
> 
> You can send an Activity (the object you get back
> from activateIn) the
> the messages run, terminate, step, next, and stop. 
> In a simulation
> set up to run in batch, you then may need to
> introduce some way to
> restart it (e.g.  wait on standard input and then
> call run again).

Hi Marcus, i got several questions about this:

1)I try to understand how the batchmode works, so i
started to run jheatbugs in batchmode, but it doesn't
works, i got the following message:

<ps-2.0.1/jheatbugs-2.0.1] $ javaswarm StartHeatbugs
--batchmode
jheatbugs: unrecognized option `--batchmode'
Try `jheatbugs --help' or `jheatbugs --usage' for more
information.

the commands jheatbugs --help and jheatbugs --usage
don't work too.(it is the same with the jmousetrap
application).

2)I check the swarm java-refbook, and i saw that
Activity is an interface and not a class, and i don't
understand how to use it, should i declare in the
main:

Activity activity;
and use it this way:
activity=topLevelSwarm.activateIn(null);
activity.next();


Regards,
David.


__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

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