T - The component type of the lists created by this factory.public class ListPermutationFactory<T> extends AbstractCandidateFactory<List<T>>
| Constructor and Description |
|---|
ListPermutationFactory(List<T> elements)
Creates a factory that creates lists that contain each of the specified
elements exactly once.
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
generateRandomCandidate(Random rng)
Generates a random permutation from the configured elements.
|
generateInitialPopulation, generateInitialPopulation