Documentation of 'org.jgap.NaturalSelectorExt' Java class
NaturalSelectorExt
org.jgap

Class NaturalSelectorExt

    • Method Detail

      • setDoubletteChromosomesAllowed

        public void setDoubletteChromosomesAllowed(boolean a_doublettesAllowed)
        Determines whether doublette chromosomes may be added to the selector or will be ignored.
        Parameters:
        a_doublettesAllowed - true: doublette chromosomes allowed to be added to the selector. false: doublettes will be ignored and not added
        Since:
        3.3.3
      • getDoubletteChromosomesAllowed

        public boolean getDoubletteChromosomesAllowed()
        Returns:
        true: doublette chromosomes allowed to be added to the selector false: this is sort of risky and might lead to unexpected population sizes during evolution!
        Since:
        3.3.3
      • equals

        public boolean equals(java.lang.Object a_o)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        a_o - the object to compare
        Returns:
        true: compared object is seen as equal to current instance
        Since:
        3.3.3
      • select

        public final void select(int a_howManyToSelect,
                                 Population a_from_pop,
                                 Population a_to_pop)
        Selects a given number of Chromosomes that will move on to the next generation population.
        Parameters:
        a_from_pop - the population the Chromosomes will be selected from
        a_to_pop - the population the Chromosomes will be added to
        a_howManyToSelect - the number of Chromosomes to select
        Since:
        3.3.3

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.