T
- type of the permuted objectspublic interface PermutationChromosome<T>
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 © 2003–2016 The Apache Software Foundation. All rights reserved.