public class LeafFactory extends AbstractCandidateFactory<NAryTree>
Constructor and Description |
---|
LeafFactory(CentralRegistry registry) |
Modifier and Type | Method and Description |
---|---|
static NAryTree |
generateRandomCandidate(CentralRegistry registry) |
NAryTree |
generateRandomCandidate(java.util.Random rng)
Randomly create a single candidate solution.
|
generateInitialPopulation, generateInitialPopulation
public LeafFactory(CentralRegistry registry)
public NAryTree generateRandomCandidate(java.util.Random rng)
CandidateFactory
rng
- The random number generator to use when creating the random
candidate.public static NAryTree generateRandomCandidate(CentralRegistry registry)