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

Class RouletteWheelSelection

  • All Implemented Interfaces:
    ISelection


    public class RouletteWheelSelection
    extends java.lang.Object
    implements ISelection
    Roulette Wheel Selection.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RouletteWheelSelection()
      Initializes a new instance of the RouletteWheelSelection class.
      RouletteWheelSelection(long seed)
      Initializes a new instance of the RouletteWheelSelection class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

      • RouletteWheelSelection

        public RouletteWheelSelection()
        Initializes a new instance of the RouletteWheelSelection class.
      • RouletteWheelSelection

        public RouletteWheelSelection(long seed)
        Initializes a new instance of the RouletteWheelSelection class.
        Parameters:
        seed - Random seed.
    • 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.