SolutionType
- type of the generated solutions, required to extend Solution
DataType
- type of data used to generate solutions@FunctionalInterface public interface RandomSolutionGenerator<SolutionType extends Solution,DataType>
Modifier and Type | Method and Description |
---|---|
SolutionType |
create(Random rnd,
DataType data)
Generate a random solution.
|
SolutionType create(Random rnd, DataType data)
rnd
- source of randomnessdata
- given dataCopyright © 2016. All rights reserved.