|
From: Rodrigo E. G. <rod...@ho...> - 2014-03-18 07:52:48
|
Ooops! I forgot to write down te mutation step, that's true. It will be done after step 6. I also think the extra argument approach is the best one. Date: Tue, 18 Mar 2014 00:31:36 +0100 From: wi...@de... To: pio...@li... Subject: Re: [pio-develop] Passing a particular chromosome to genetic AI On Mon, Mar 17, 2014 at 07:46:56PM +0100, Rodrigo Espiga Gómez wrote: > Hi Roland and others! Hi! > Genetic AI is working right now, Cool! > To give you an idea of the process from now on it would be like this I'm missing the "random mutation" step, which is normally required for proper evolution. Otherwise you only get degradation of the starting pool, and nothing new ever evolves (apart from combinations of existing things; I'd still expect a decent result, but not as good). > So I need genetic to use different chromosomes. > The best way would be having the chromosome information on an external > file that would be passed to pioneersai as an argument. It would be possible to add an extra argument to pioneersai for this purpose, or perhaps better, to add it to the algorithm argument: --algorithm=genetic:/path/to/file.txt Another option would be to use an environment variable which contains the filename (or the chromosome itself, if it's not too long). > Another approach to avoid any modification to pioneersai is having > all the chromosomes of one generation on a single file That doesn't sound very flexible; passing every invocation its own chromosome sounds much better. Thanks, Bas ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Pio-develop mailing list Pio...@li... https://lists.sourceforge.net/lists/listinfo/pio-develop |