commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Commented] (MATH-1074) Refactor fixed size chromosomes
Date Mon, 09 Dec 2013 16:16:08 GMT


Gilles commented on MATH-1074:

The "problem" is that the crossover (and mutation) operators need to know the underlying data
Even if "Chromosome" is made generic (the generic type would define the "gene" type) and an
accessor method is added to the API in order to access a single gene by index, that would
still not allow primitive types as the underlying structure...

> Refactor fixed size chromosomes
> -------------------------------
>                 Key: MATH-1074
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 3.2
>            Reporter: Thomas Neidhart
> Currently, only chromosomes derived from AbstractListChromosome can be used for most
of the crossover policies. This is quite inconvenient to use, especially when working with
primitive types.
> Need to think about ways to refactor this for better support of other datatypes, e.g.
CharSequence or primitive arrays.

This message was sent by Atlassian JIRA

View raw message