Class NaryRandomSelection<S>

java.lang.Object
org.uma.jmetal.operator.selection.impl.NaryRandomSelection<S>
All Implemented Interfaces:
Serializable, Operator<List<S>,List<S>>, SelectionOperator<List<S>,List<S>>

public class NaryRandomSelection<S> extends Object implements SelectionOperator<List<S>,List<S>>
This class implements a random selection operator used for selecting randomly N solutions from a list
Version:
1.0
Author:
Antonio J. Nebro
See Also:
  • Constructor Details

    • NaryRandomSelection

      public NaryRandomSelection()
      Constructor
    • NaryRandomSelection

      public NaryRandomSelection(int numberOfSolutionsToBeReturned)
      Constructor
  • Method Details

    • execute

      public List<S> execute(List<S> solutionList)
      Execute() method
      Specified by:
      execute in interface Operator<List<S>,List<S>>
      Parameters:
      solutionList - The data to process