Class CreateNRandomSolutions<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.util.restartstrategy.impl.CreateNRandomSolutions<S>
- All Implemented Interfaces:
CreateNewSolutionsStrategy<S>
public class CreateNRandomSolutions<S extends Solution<?>>
extends Object
implements CreateNewSolutionsStrategy<S>
Created by antonio on 6/06/17.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CreateNRandomSolutions
public CreateNRandomSolutions()
-
-
Method Details
-
create
public void create(List<S> solutionList, DynamicProblem<S, ?> problem, int numberOfSolutionsToCreate) Description copied from interface:CreateNewSolutionsStrategyAdd a number of new solutions to a list ofSolutionobjects- Specified by:
createin interfaceCreateNewSolutionsStrategy<S extends Solution<?>>- Parameters:
solutionList-problem-numberOfSolutionsToCreate-
-