Documentation of 'org.jgap.impl.job.SimplePopulationSplitter' Java class
SimplePopulationSplitter
org.jgap.impl.job

Class SimplePopulationSplitter

  • All Implemented Interfaces:
    IPopulationSplitter


    public class SimplePopulationSplitter
    extends java.lang.Object
    implements IPopulationSplitter
    Simple implementation of IPopulationSplitter.
    Since:
    3.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Population[] split(Population a_pop)
      Splits a single population into smaller sub-populations.
      • Methods inherited from class java.lang.Object

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

      • SimplePopulationSplitter

        public SimplePopulationSplitter(int a_count)
        Parameters:
        a_count - number of chunks to create by splitting the population.
        Since:
        3.2
    • Method Detail

      • split

        public Population[] split(Population a_pop)
                           throws java.lang.Exception
        Splits a single population into smaller sub-populations.
        Specified by:
        split in interface IPopulationSplitter
        Parameters:
        a_pop - input population
        Returns:
        resulting chunks
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.