swarm-support
[Top][All Lists]
Advanced

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

Re: Nested classes in simpleExperBug?


From: Li An
Subject: Re: Nested classes in simpleExperBug?
Date: Wed, 01 Jan 2003 11:13:46 -0500

Thanks. I am working independently, unfortunately, on the bugs translation as an exercise, and nearly finished all (except the ExperSwarm and the simpleCBug that I thought easy). The codes in Savannah are helpful. Li


At 06:07 PM 12/31/2002 -0600, you wrote:
Parameter management and passing parameters in Java was very hard to translate. In the swarm archive, you should be able to find a long series of emails from me, Marcus, and Sven about it, which culminated in Sven's manifesto on parameters. It is all documented:

http://lark.cc.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#7.7

I recall thinking that some of the approaches I suggested in swarm-support were easier, but gave up caring after I got tired/sick of Java.

I wonder if you are working together with the previous team that was working on a Java tutorial for swarm in the bugs line. I recall that code is in CVS on the Savannah site.


Li An wrote:
Hi,
In the Obj-C version of the simpleExperBug, the ParameterManager.h is nested in ExperSwarm.h, and correspondingly, the ParameterManager.m is nested in ExperSwarm.m. In writing the associated java code, should I write two separate classes as ParameterManager.java and ExperSwarm.java and save them under the same directory (such as /home/.../simpleExperBug/), or just one ExperSwarm.java and let the ParameterManager as a local subclass (a special java inner class) that resides within- ExperSwarm.java? An example of the later local subclass is the HeatbugObserverProbeMap class that is nested in HeatbugObserverSwarm.java in the jheatbugs-2001-03-28 example. Thanks.
Happy new year,
Li
Li An
Systems Modeling Lab
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824
Phone (Work): 517-353-7981
Fax: 517-432-1699

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



--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


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

Li An
Systems Modeling Lab
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824
Phone (Work): 517-353-7981
Fax: 517-432-1699


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