T
- type of the permuted objectspublic interface PermutationChromosome<T>
Modifier and Type | Method and Description |
---|---|
List<T> |
decode(List<T> sequence)
Permutes the
sequence of objects of type T according to the
permutation this chromosome represents. |
List<T> decode(List<T> sequence)
sequence
of objects of type T according to the
permutation this chromosome represents. For example, if this chromosome
represents a permutation (3,0,1,2), and the unpermuted sequence is
(a,b,c,d), this yields (d,a,b,c).sequence
- the unpermuted (original) sequence of objectssequence
represented by this permutationCopyright © 2020 CNES. All rights reserved.