Documentation of 'org.encog.ml.ea.opp.OperationList' Java class
OperationList
org.encog.ml.ea.opp

Class OperationList

  • All Implemented Interfaces:
    java.io.Serializable


    public class OperationList
    extends ChooseObject<EvolutionaryOperator>
    This class holds a list of evolutionary operators. Each operator is given a probability weight. Based on the number of parents available a random selection of an operator can be made based on the probability given each of the operators.
    See Also:
    Serialized Form
    • Constructor Detail

      • OperationList

        public OperationList()
    • Method Detail

      • maxOffspring

        public int maxOffspring()
        Determine the maximum number of offspring that might be produced by any of the operators in this list.
        Returns:
        The maximum number of offspring.
      • maxParents

        public int maxParents()
        Determine the maximum number of parents required by any of the operators in the list.
        Returns:
        The maximum number of parents.
      • pickMaxParents

        public EvolutionaryOperator pickMaxParents(java.util.Random rnd,
                                                   int maxParents)
        Pick a operator based on the number of parents available.
        Parameters:
        rnd - A random number generator.
        maxParents - The maximum number of parents available.
        Returns:
        The operator that was selected.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.