Class RandomSolutionsCreation<S extends Solution<?>>

java.lang.Object
org.uma.jmetal.component.catalogue.common.solutionscreation.impl.RandomSolutionsCreation<S>
Type Parameters:
S -
All Implemented Interfaces:
SolutionsCreation<S>

public class RandomSolutionsCreation<S extends Solution<?>> extends Object implements SolutionsCreation<S>
Class that creates a list of randomly instantiated solutions. The randomness is assumed because the Problem.createSolution() in general creates solutions with random values.
  • Constructor Details

    • RandomSolutionsCreation

      public RandomSolutionsCreation(Problem<S> problem, int numberOfSolutionsToCreate)
      Creates the list of solutions
      Parameters:
      problem - Problem defining the solutions
      numberOfSolutionsToCreate -
  • Method Details