Documentation of 'org.jgap.gp.IGPInitStrategy' Java class
IGPInitStrategy
org.jgap.gp

Interface IGPInitStrategy

  • All Superinterfaces:
    java.io.Serializable


    public interface IGPInitStrategy
    extends java.io.Serializable
    Optional initializer for creating GP programs. Set it via GPConfiguration.setInitStrategy.
    Since:
    3.2.1
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String CVS_REVISION
      String containing the CVS revision.
    • Field Detail

      • CVS_REVISION

        static final java.lang.String CVS_REVISION
        String containing the CVS revision. Read out via reflection!
        See Also:
        Constant Field Values
    • Method Detail

      • init

        CommandGene init(IGPChromosome a_chrom,
                         int a_chromNum)
                  throws java.lang.Exception
        Initializes a chromosome within a GP program before a random creation of the (rest of the) program is executed.
        Parameters:
        a_chrom - the chromosome within the GP program to create randomly
        a_chromNum - index of the chromosome with the GP program
        Returns:
        the CommandGene to use as first node, or null if random selection
        Throws:
        java.lang.Exception
        Since:
        3.2.1

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.