From: Reply7471859353@wmconnect.com   
      
   Mike wrote in message news:<40a14c1e$1@news   
   unimelb.edu.au>...   
   > In article <40a137f6$1@news.unimelb.edu.au>, Prof Ric Crabbe wrote:   
   > > Mike writes:   
   > >   
   > >> I want to experiment some with adapting genetic programming,   
   > >> which I am very familiar with, to frames and slots. Can someone   
   > >> please point out a/some resouce(s) where I can learn about   
   > >> frames and slots and how to implement them in java?   
   > >   
   > > Your question is kind-of vague, so I can only think of a vague answer   
   > > like:   
   > >   
   > > frame = class   
   > > slot = instance variable   
   > >   
   > > perhaps you meant more than that?   
   >   
   > I am not intentionally vague, but am searching for an   
   > answer to a question I can barely define. Seems like in LISP   
   > you have ists that have attributes and these attributes act   
   > like a hash in that you can query, set, and remove them. I know   
   > that I can implement the same things easily in Java using a either   
   > a Hashtable or a HashMap, but is that the right way? I'm playing   
   > with the idea of using genetic programming to evolve the lists   
   > for the purpose of generating some sort of frame-based knowledge   
   > to play dungeons and dragons.   
   >   
      
   For genetic algorithms you may want to keep with a lists paradigm.   
      
   Maybe consider using Kawa Scheme, where you can keep the methods you   
   develop in a portable scheme format, and still benefit from a growing   
   Java respository of code. If ever your experiments reach beyond the   
   performance constraints of Java, you can switch to a Scheme to C, or   
   Scheme native compiler. Simply keep with core Scheme in Kawa.   
      
   Also, there is Bigloo, jScheme and SISC. I would be careful with   
   developing Scheme code with jScheme and periodically test the Scheme   
   code portability using other compilers.   
      
   I also, like using Norvig's original Scheme interpreter for a high   
   level scripting toolkit, available from Norvig's site or I have a   
   backup URL on my website. (   
   http://mywebpage.netscape.com/mawcowboy/goodies1.htm )   
      
   One more idea is with Jatha, a Java library that implements a large   
   subset of Common LISP. ( http://sourceforge.net/projects/jatha/ )   
   Also, ArmedBear, with j, a source editor which includes a Common Lisp   
   compatible scripting engine. ( also, written in Java language )   
      
      
   Regards,   
      
   Mark A. Washburn   
      
   [ comp.ai is moderated. To submit, just post and be patient, or if ]   
   [ that fails mail your article to , and ]   
   [ ask your news administrator to fix the problems with your system. ]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|