T
- type of the permuted objectspublic interface PermutationChromosome<T>
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
decode(java.util.List<T> sequence)
Permutes the
sequence of objects of type T according to the
permutation this chromosome represents. |
java.util.List<T> decode(java.util.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 © 2010 - 2020 Adobe. All Rights Reserved