swarm-modeling
[Top][All Lists]
Advanced

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

Re: [SPAM] [Swarm-Modelling] about heatbug


From: Pietro Terna
Subject: Re: [SPAM] [Swarm-Modelling] about heatbug
Date: Mon, 14 Aug 2006 19:33:45 +0200

Creating classes via lispAppArchiver and .scm files is very useful, to change the values of the variables reported in the scm file wihout modifying the Java code.

Look at the tutorial at http://eco83.econ.unito.it/swarm/materiale/jtutorial/JavaTutorial.zip (sorry, I've not found it in the Swarm site)) and particularly at p.30 of the jsimplebug11.doc file included in the zip package.

        Pietro

ps please use support list for this kind of problems

At 11.59 14/08/2006, you wrote:
Hi,friends,

     When I read the code of J-heatbugs ,I find some questions,below.

part of the HeatbugBatchSwarm 's,reference.I don't use the heatbugs.scm at all.

How explain its useage,here? Is it a old version swarm's file? Does it function here?

     Could you give me some literature about this?
      /*
        // But since we don't have any graphics, we load the
        // object from the global `lispAppArchiver' instance which
        // is created automatically from the file called
        // `heatbugs.scm'
        // `modelSwarm' is the key in `heatbugs.scm' which
        // contains the instance variables for the
        // HeatbugModelSwarm class, such as numBugs etc.
        heatbugModelSwarm =
          (HeatbugModelSwarm)
          Globals.env.lispAppArchiver.getWithZone$object (getZone (),
                                                          "modelSwarm");
        */



thanks,






Íø Ò× ÓÊ Ïä ´ø Äã ÂÊ ÏÈ ¿ç Èë 3G ʱ ´ú £¡
<http://www.126.com/>3G º£ Á¿ ÓÊ Ïä £¬20 Õ× ³¬ ´ó ¸½ ¼þ £»Íø Âç ¼Ç Ê ±¾ £« RSS £« ´ó ÈÝ Á¿ Íø ÅÌ £¬Ò» Ñù Ò² ²» ÉÙ
_______________________________________________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling




reply via email to

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