Hi,

I've been using genetic algorithm for some pet projects. And I'd like to
shed some light on a number of topics.

1. Am I correct to think, that now GA is working in a single thread? In
such case, was there any discussions on the subject (I didn't find within a
quick check of Jira). If not, could you provide some API reference. The
subject is important, because the ability to be distributed is one of the
key features of the GA.

2. Was there talks about implementing Pool for chromosomes? I found
enhancement proposal https://issues.apache.org/jira/browse/MATH-1219 -
which is aimed to solve the same problem - creating an enormous amount of
chromosomes in each generation. Chromosomes after each generation hangs in
a heap waiting for GC. Also, object pool can be implemented, supposing that
chromosome would consist of List<? extends PooledObject>.

3. Examples of using getRepresentation method of AbstractListChromosome
seem misleading. Because getRepresentation  is protected method and writing
classes that implement MutationPolicy/CrossoverPolicy can't use it. For
rapid development one could implement public overriding method, but can't
it be defined public in AbstractListChromosome? If one is to write some
particular policy, he must override getRepresentation method in
CustomChromosome. But if one wants to write some common genetic policy
(e.g., some reordering crossover), he would face an obstacle mentioned.

I'd like to create tasks for those in Jira. Just want to make sure, that
these topics would be useful and gather some information, other devepoler's
opinions on a matter.


-- 
Regards,
Kirill

Reply via email to