Documentation of 'Catalano.Evolutionary.Genetic.Selection.RandomSelection' Java class
RandomSelection
Catalano.Evolutionary.Genetic.Selection

Class RandomSelection

    • Constructor Summary

      Constructors 
      Constructor and Description
      RandomSelection(java.util.List<ISelection> selection)
      Initializes a new instance of the ElitismSelection class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int[] Compute(double[] fitness) 
      int[] Compute(java.util.List<IChromosome> chromosomes)
      Selection operator.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RandomSelection

        public RandomSelection(java.util.List<ISelection> selection)
        Initializes a new instance of the ElitismSelection class.
        Parameters:
        selection - List of selection operators.
    • Method Detail

      • Compute

        public int[] Compute(java.util.List<IChromosome> chromosomes)
        Description copied from interface: ISelection
        Selection operator.
        Specified by:
        Compute in interface ISelection
        Parameters:
        chromosomes - Chromosomes.
        Returns:
        Selected chromosomes.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.