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

Interface ICompositeGene

  • All Superinterfaces:
    java.lang.Comparable, Gene, IUniqueKey, java.io.Serializable
    All Known Subinterfaces:
    Supergene
    All Known Implementing Classes:
    AbstractSupergene, CompositeGene


    public interface ICompositeGene
    extends Gene
    Interface for Genes being composed by other genes.
    Since:
    2.6
    • 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

      • addGene

        void addGene(Gene a_gene)
        Adds a gene to the composed Gene
        Parameters:
        a_gene - the gene to add
        Since:
        2.6 (since earlier in CompositeGene)
      • geneAt

        Gene geneAt(int a_index)
        Parameters:
        a_index - index to return the gene at
        Returns:
        the gene at the given index
        Since:
        2.6 (since 1.1 in CompositeGene)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.