Print

Print


Nikola, the Slave.java is presently single-threaded for no good  
reason.  It'll take me a while to get it multithreaded.

Here's a hack for you in the mean time.

	1. Turn on eval.run-evolve so the slave starts doing evolution itself.
	2. Set the generations to 1 (or maybe 0?  I forget right now).
	3. To keep the breeding from occurring, create a SimpleBreeder  
subclass which overrides the breedPopulation method to do absolutely  
nothing. Use this breeder on your Slave.  Actually I'm not sure if  
this is necessary but it's probably worthwhile.
	4. Use SimpleEvaluator on the slave.

This turns off "standard" evaluation and relies on treating the  
incoming individuals as a population, which should allow  
multithreading (crosses fingers).

Sean

On Mar 22, 2011, at 9:44 AM, Nikola N. wrote:

> By Master / slave  problems, how to set up on how many threads to be  
> started
> at the slave side ?
>
> I have already experimented with putting:
> evalthreads  =   3
> breedthreads =  3
> , in different .params files at the slave side, but nothing worked  
> so far.
> Only one thread is by default running at the slave side, and I can not
> change this.
>
> Any suggestion in which .params files or how to setup this?
>
>
> Thanks in advance.
> Nikola